Skip to content

Commit

Permalink
fix: fix admin settings json schema 😬
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Nov 29, 2022
1 parent 82cbcd3 commit 57060a8
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions functions/ecom.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,31 +149,22 @@ const app = {
additionalProperties: false,
properties: {
webhook_uri: {
schema: {
type: 'string',
maxLength: 255,
format: 'uri',
title: 'Webhook URI',
description: 'URL de destino para os webhooks',
},
hide: true
type: 'string',
maxLength: 255,
format: 'uri',
title: 'Webhook URI',
description: 'URL de destino para os webhooks'
},
webhook_token: {
schema: {
type: 'string',
maxLength: 50,
title: 'Token',
description: 'Bearer token opcional para o cabeçalho Authorization',
},
hide: true
type: 'string',
maxLength: 50,
title: 'Token',
description: 'Bearer token opcional para o cabeçalho Authorization'
},
skip_pending: {
schema: {
type: 'boolean',
default: false,
title: 'Ignorar pedidos pendentes',
},
hide: true
type: 'boolean',
default: false,
title: 'Ignorar pedidos pendentes'
}
}
}
Expand Down

0 comments on commit 57060a8

Please sign in to comment.