mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Fixed typos in webhook error message
no issue
This commit is contained in:
parent
32a043c27c
commit
d261f88456
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue