Skip to content

Commit

Permalink
docs(README): fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Aug 28, 2024
1 parent 34257a8 commit d10abdb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ Verify the request payload using the provided signature and key. Note that the r
```js
import { verify } from "@copilot-extensions/preview-sdk";

const payloadIsVerified = await verify(request.body, signature, key);
const payloadIsVerified = await verifyRequestPayload(
request.body,
signature,
key
);
// true or false
```

Expand Down

0 comments on commit d10abdb

Please sign in to comment.