Skip to content

Commit

Permalink
fix(ui): pro instance list types
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbreuninger committed Feb 9, 2024
1 parent 768429c commit fa6a2a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion desktop/src/client/pro/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class ProClient implements TDebuggable {
return ProCommands.Login(host, providerName, accessKey, listener)
}

public async listAll(config: TListProInstancesConfig): Promise<Result<readonly TProInstance[]>> {
public async listAll(config?: TListProInstancesConfig): Promise<Result<readonly TProInstance[]>> {
return ProCommands.ListProInstances(config)
}

Expand Down
2 changes: 1 addition & 1 deletion desktop/src/client/pro/proCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class ProCommands {
}

static async ListProInstances(
config: TListProInstancesConfig
config?: TListProInstancesConfig
): Promise<Result<readonly TProInstance[]>> {
const maybeLoginFlag = config?.authenticate ? [DEVPOD_FLAG_LOGIN] : []
const result = await ProCommands.newCommand([
Expand Down

0 comments on commit fa6a2a7

Please sign in to comment.