mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Fixed typos in webhook error message
no issue
This commit is contained in:
parent
32a043c27c
commit
d261f88456
@ -98,7 +98,7 @@ module.exports = {
|
||||
if (webhook.get('integration_id') !== frame.options.context.api_key.id) {
|
||||
throw new errors.NoPermissionError({
|
||||
message: i18n.t('errors.api.webhooks.noPermissionToEdit.message', {
|
||||
method: 'destory'
|
||||
method: 'destroy'
|
||||
}),
|
||||
context: i18n.t('errors.api.webhooks.noPermissionToEdit.context', {
|
||||
method: 'destroy'
|
||||
|
@ -108,7 +108,7 @@ module.exports = {
|
||||
if (webhook.get('integration_id') !== frame.options.context.api_key.id) {
|
||||
throw new errors.NoPermissionError({
|
||||
message: i18n.t('errors.api.webhooks.noPermissionToEdit.message', {
|
||||
method: 'destory'
|
||||
method: 'destroy'
|
||||
}),
|
||||
context: i18n.t('errors.api.webhooks.noPermissionToEdit.context', {
|
||||
method: 'destroy'
|
||||
|
Loading…
Reference in New Issue
Block a user