mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 08:07:15 +00:00
fix(typescript-client): fix typescript client mocked api behavior
This commit is contained in:
@@ -991,6 +991,8 @@ async function getMockedApi(): Promise<MockedApi | undefined> {
|
||||
|
||||
if (mockedPath) {
|
||||
console.info("Using mocked API from", mockedPath);
|
||||
} else {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const path = getEnv("WM_MOCKED_API_FILE");
|
||||
|
||||
Reference in New Issue
Block a user