feat: adiciona headers no cadastro de webhook da instância

This commit is contained in:
Felipe Medeiros
2024-09-06 20:46:10 -03:00
parent a9e4860a77
commit 65c6ecff88
11 changed files with 21 additions and 2 deletions

View File

@@ -151,6 +151,7 @@ export class InstanceController {
hash,
webhook: {
webhookUrl: instanceData?.webhook?.url,
webhookHeaders: instanceData?.webhook?.headers,
webhookByEvents: instanceData?.webhook?.byEvents,
webhookBase64: instanceData?.webhook?.base64,
},
@@ -238,6 +239,7 @@ export class InstanceController {
hash,
webhook: {
webhookUrl: instanceData?.webhook?.url,
webhookHeaders: instanceData?.webhook?.headers,
webhookByEvents: instanceData?.webhook?.byEvents,
webhookBase64: instanceData?.webhook?.base64,
},