🐛 (whatsapp) Fix media download
This commit is contained in:
@@ -24,6 +24,8 @@ export const downloadMedia = async ({
|
|||||||
.get(url, {
|
.get(url, {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer ${systemUserAccessToken}`,
|
Authorization: `Bearer ${systemUserAccessToken}`,
|
||||||
|
'User-Agent':
|
||||||
|
'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.arrayBuffer()
|
.arrayBuffer()
|
||||||
|
|||||||
Reference in New Issue
Block a user