Skip to content

Commit c40474d

Browse files
authored
Set party correctly in setActivity (#54)
1 parent 82a0430 commit c40474d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sdk-playground/packages/client/src/pages/SetActivity.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ export default function SetActivity() {
1616
large_image: fillerUrl,
1717
},
1818
secrets: {
19-
join: discordSdk.instanceId,
19+
join: crypto.randomUUID(),
2020
},
2121
party: {
22-
id: 'foo',
23-
size: [1, 10]
22+
id: discordSdk.instanceId,
23+
size: [1, 0]
2424
}
2525
},
2626
});

0 commit comments

Comments
 (0)