Skip to content

Commit

Permalink
from query.owner to header[x-owner]
Browse files Browse the repository at this point in the history
  • Loading branch information
jrCleber committed Sep 4, 2023
1 parent 08b265c commit e1f9518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/whatsapp/services/whatsapp.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export class WAStartupService {
instance: this.instance.name,
data,
},
{ params: { owner: this.instance.wuid } },
{ headers: { 'x-owner': this.instance.wuid } },
);
}
} catch (error) {
Expand All @@ -273,7 +273,7 @@ export class WAStartupService {
instance: this.instance.name,
data,
},
{ params: { owner: this.instance.wuid } },
{ headers: { 'x-owner': this.instance.wuid } },
);
}
} catch (error) {
Expand Down

0 comments on commit e1f9518

Please sign in to comment.