We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 897eb31 commit bf7e9cfCopy full SHA for bf7e9cf
1 file changed
docs/webhooks/security.md
@@ -96,7 +96,7 @@ async function getOrgPublicKey(orgId: string): Promise<string> {
96
`https://webhooks.sls.epilot.io/v1/webhooks/.well-known/public-key?orgId=${orgId}`
97
);
98
const data = await response.json();
99
- return data.publicKey;
+ return data.public_key;
100
}
101
102
async function verifyAsymmetric(req: Request, orgId: string): Promise<boolean> {
@@ -167,7 +167,7 @@ Response:
167
168
```json
169
{
170
- "publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA...\n-----END PUBLIC KEY-----\n"
+ "public_key": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA...\n-----END PUBLIC KEY-----\n"
171
172
```
173
0 commit comments