Skip to content

Commit 57060a8

Browse files
committed
fix: fix admin settings json schema 😬
1 parent 82cbcd3 commit 57060a8

File tree

1 file changed

+12
-21
lines changed

1 file changed

+12
-21
lines changed

functions/ecom.config.js

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -149,31 +149,22 @@ const app = {
149149
additionalProperties: false,
150150
properties: {
151151
webhook_uri: {
152-
schema: {
153-
type: 'string',
154-
maxLength: 255,
155-
format: 'uri',
156-
title: 'Webhook URI',
157-
description: 'URL de destino para os webhooks',
158-
},
159-
hide: true
152+
type: 'string',
153+
maxLength: 255,
154+
format: 'uri',
155+
title: 'Webhook URI',
156+
description: 'URL de destino para os webhooks'
160157
},
161158
webhook_token: {
162-
schema: {
163-
type: 'string',
164-
maxLength: 50,
165-
title: 'Token',
166-
description: 'Bearer token opcional para o cabeçalho Authorization',
167-
},
168-
hide: true
159+
type: 'string',
160+
maxLength: 50,
161+
title: 'Token',
162+
description: 'Bearer token opcional para o cabeçalho Authorization'
169163
},
170164
skip_pending: {
171-
schema: {
172-
type: 'boolean',
173-
default: false,
174-
title: 'Ignorar pedidos pendentes',
175-
},
176-
hide: true
165+
type: 'boolean',
166+
default: false,
167+
title: 'Ignorar pedidos pendentes'
177168
}
178169
}
179170
}

0 commit comments

Comments
 (0)