Skip to content

Commit

Permalink
fix: ts complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-85 authored and Sceat committed Aug 1, 2024
1 parent f6135ce commit b2a8d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/world/WorldApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class WorldApi {
// call<T>(api: WorldApiName, args: any[]): T | Promise<T>

async call(apiName: WorldApiName, args: any) {
return await WorldCompute[apiName](...args)
return await WorldCompute[apiName](args[0])
}
}

Expand Down

0 comments on commit b2a8d00

Please sign in to comment.