mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
15 lines
551 B
Markdown
15 lines
551 B
Markdown
|
---
|
||
|
"@logto/core": patch
|
||
|
---
|
||
|
|
||
|
fix the status code 404 error in webhook events payload
|
||
|
|
||
|
Impact webhook events:
|
||
|
|
||
|
- `Role.Scopes.Updated`
|
||
|
- `Organizations.Membership.Updates`
|
||
|
|
||
|
Issue: These webhook event payloads were returning a API response status code of 404 when the webhook was triggered.
|
||
|
Expected: A status code of 200 should be returned, as we only trigger the webhook when the request is successful.
|
||
|
Fix: All webhook event contexts should be created and inserted into the webhook pipeline after the response body and status code are properly set.
|