Skip to content

Commit

Permalink
Merge pull request #141 from vilsonei/main
Browse files Browse the repository at this point in the history
Correção de bug
  • Loading branch information
jrCleber authored Jul 8, 2024
2 parents 738dedc + 29b976c commit e2a28e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/whatsapp/services/whatsapp.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export class WAStartupService {
let update: typeof this.webhook;

if (find) {
update = await this.repository.updateWebhook(this.instance.id, data);
update = await this.repository.updateWebhook(find.id, data);
} else {
update = await this.repository.webhook.create({
data: {
Expand Down

0 comments on commit e2a28e3

Please sign in to comment.