Skip to content

Commit 4c84ec2

Browse files
committed
fix: Create delegation for the right Space
1 parent 17e5bdf commit 4c84ec2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/delegate-serve.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ sade('delegate-serve.js [space]')
7070
// multiple packages.
7171
const ability = /** @type {"*"} */ (Space.contentServe.can)
7272

73+
client.setCurrentSpace(space)
7374
const delegation = await client.createDelegation(
7475
gatewayIdentity,
7576
[ability],

0 commit comments

Comments
 (0)