Skip to content

Commit

Permalink
🔧 enabled stickerServerEndpoint #3210
Browse files Browse the repository at this point in the history
  • Loading branch information
smashah committed May 16, 2024
1 parent 1b11b4a commit 134d2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4008,7 +4008,7 @@ public async getStatus(contactId: ContactId) : Promise<{
}
}
try {
const {data} = await axios.post(`${((fallback ? pkg.stickerUrl : 'https://sticker-api.openwa.dev')|| this._createConfig.stickerServerEndpoint).replace(/\/$/, '')}/${func}`, {
const {data} = await axios.post(`${(this._createConfig?.stickerServerEndpoint || (fallback ? pkg.stickerUrl : 'https://sticker-api.openwa.dev')).replace(/\/$/, '')}/${func}`, {
...a,
sessionInfo,
config: this.getConfig()
Expand Down

0 comments on commit 134d2c2

Please sign in to comment.