Skip to content

Commit

Permalink
fix(api): make create remote process not async
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Nov 1, 2024
1 parent 59b4ca6 commit dcd013b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/common/process/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,21 @@ export class Process implements AoProcess {
return new ProcessReadable(config);
}

static async createRemoteProcess({
static createRemoteProcess({
processId,
cuUrl,
muUrl,
suUrl,
cuUrl = 'http://cu.ao-testnet.xyz',
muUrl = 'http://mu.ao-testnet.xyz',
suUrl = 'http://su.ao-testnet.xyz',
signer,
logger,
}: {
processId: string;
cuUrl: string;
muUrl: string;
suUrl: string;
cuUrl?: string;
muUrl?: string;
suUrl?: string;
signer?: AoSigner;
logger?: Logger;
}): Promise<ProcessReadable | ProcessWritable> {
}): ProcessReadable | ProcessWritable {
return Process.init({
processId,
signer,
Expand Down

0 comments on commit dcd013b

Please sign in to comment.