Ghost/core/server/api/canary/utils
Nazar Gargol 60ae9e82f9 Fixed integration_id assignment for webhook when creating through API key auth
refs 173e3292fa

- The bug was initially introduced in referenced commit. When request is done with `api_key` context, there should always be an `integration` object associated with it - 71c17539d8/core/server/services/permissions/parse-context.js (L36) . An `id` from `context.integration` not `context.api_key` has to be assigned to newly created webhook!
- The webhooks API is about to be declared stable in upcoming release, so no migration will be done
2020-08-04 16:43:24 +12:00
..
serializers Fixed integration_id assignment for webhook when creating through API key auth 2020-08-04 16:43:24 +12:00
validators Fixed integration_id assignment for webhook when creating through API key auth 2020-08-04 16:43:24 +12:00
index.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
permissions.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00