Skip to content

Commit 134d2c2

Browse files
committed
🔧 enabled stickerServerEndpoint #3210
1 parent 1b11b4a commit 134d2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/Client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4008,7 +4008,7 @@ public async getStatus(contactId: ContactId) : Promise<{
40084008
}
40094009
}
40104010
try {
4011-
const {data} = await axios.post(`${((fallback ? pkg.stickerUrl : 'https://sticker-api.openwa.dev')|| this._createConfig.stickerServerEndpoint).replace(/\/$/, '')}/${func}`, {
4011+
const {data} = await axios.post(`${(this._createConfig?.stickerServerEndpoint || (fallback ? pkg.stickerUrl : 'https://sticker-api.openwa.dev')).replace(/\/$/, '')}/${func}`, {
40124012
...a,
40134013
sessionInfo,
40144014
config: this.getConfig()

0 commit comments

Comments
 (0)