mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Added fetch agent
This commit is contained in:
@@ -377,7 +377,7 @@ export class WAConnection extends EventEmitter {
|
||||
method,
|
||||
body,
|
||||
headers: { Origin: DEFAULT_ORIGIN, ...(headers || {}) },
|
||||
agent: agent || this.connectOptions.agent
|
||||
agent: agent || this.connectOptions.fetchAgent
|
||||
})
|
||||
)
|
||||
generateMessageTag (longTag: boolean = false) {
|
||||
|
||||
Reference in New Issue
Block a user