Skip to content

Commit 320641f

Browse files
authored
fix: bad example for rotateConsumerKey (#1113)
1 parent 81fcf0c commit 320641f

5 files changed

Lines changed: 70 additions & 61 deletions

File tree

content/docs/en/tools/chainhooks/(chainhook-sdk)/secrets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const client = new ChainhooksClient({
3535
});
3636

3737
// Store this value securely and use it to validate webhook requests
38-
const secret = await client.rotateConsumerSecret(chainhookUuid).secret;
38+
const secret = await client.rotateConsumerSecret().secret;
3939
```
4040

4141
### Example Fastify server

content/docs/es/resources/archive/stacks-api.mdx

Lines changed: 46 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

content/docs/es/tools/chainhooks/(chainhook-sdk)/secrets.mdx

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

content/docs/es/tools/chainhooks/index.mdx

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

idioma.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)