Skip to content

Commit 26e5a3c

Browse files
authored
Updates from editor
1 parent 03e203e commit 26e5a3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dreamcode.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ For other environments, these methods are available:
7474

7575
```js
7676
// verify the payload and call handlers
77-
copilotExtension.verifyAndReceive({ payload, signature, keyId });
77+
await copilotExtension.verifyAndReceive({ payload, signature, keyId });
7878
// same, but skip verification
79-
copilotExtension.receive({ payload });
79+
await copilotExtension.receive({ payload });
8080

8181
// and if you don't want to use the event-based API
8282
const { isValidRequest, payload } = await copilotExtension.verifyAndParse(

0 commit comments

Comments
 (0)