Skip to content

Commit

Permalink
fix: spread proxy return
Browse files Browse the repository at this point in the history
  • Loading branch information
Delusoire committed Jun 15, 2024
1 parent a72e47d commit 799d286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export class RemoteModuleInstance extends ModuleInstance<RemoteModule> {
await super.onEnable();
const metadataUrl = this.getRemoteMetadata();
if (metadataUrl) {
const metadata: Metadata = await fetch(proxy(metadataUrl)).then((r) => r.json());
const metadata: Metadata = await fetch(...proxy(metadataUrl)).then((r) => r.json());
this.updateMetadata(metadata);
}
}
Expand Down

0 comments on commit 799d286

Please sign in to comment.