Something went wrong. Try again.
Ghost is lightweight headless server that enables Ghost self hosters to bridge to standard.site with ease..
Something went wrong. Try again.
ghost: try-add-and-catch-duplicates instead of pre-fetching webhook list master
Ghost's Admin API doesn't seem to publish a list endpoint for webhooks (GET /admin/webhooks/ returned 406 in production), which is why the lib special-cases webhooks to only expose add/edit/delete. Pivot the idempotency logic: try to add() each of the four required webhooks; if Ghost rejects with the validation error it returns for duplicates ("…already been used for this event"), treat that as "already installed." Any other error is a real failure. Drop the JWT helper + listWebhooks + createHmac import — no longer needed once the lib does all the auth for the only call we still make.
Author Tim Trautmann Date (May 29, 2026, 7:37 PM UTC) Commit 2b9eb42c 2b9eb42cafed21dbe959d392d39ccf8537b7ef69 Parent 9369a278 9369a27841c99a162c7f130427b2daacc45d7e6f