Skip to content

Commit 2fc02de

Browse files
authored
Merge pull request #290 from appwrite/fix/cli-proxy-use-project-sdk
fix: use project SDK for proxy service instead of console
2 parents de9a508 + 53efc16 commit 2fc02de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/commands/services/proxy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Command } from "commander";
2-
import { sdkForConsole } from "../../sdks.js";
2+
import { sdkForProject } from "../../sdks.js";
33
import {
44
actionRunner,
55
commandDescriptions,
@@ -14,7 +14,7 @@ let proxyClient: Proxy | null = null;
1414

1515
const getProxyClient = async (): Promise<Proxy> => {
1616
if (!proxyClient) {
17-
const sdkClient = await sdkForConsole();
17+
const sdkClient = await sdkForProject();
1818
proxyClient = new Proxy(sdkClient);
1919
}
2020
return proxyClient;

0 commit comments

Comments
 (0)