mirror of https://github.com/OCA/social.git
[FIX] mail_broker_whatsapp: pre-commit changes
parent
ed3e6ebee6
commit
c6d80eaa7e
|
@ -109,10 +109,8 @@ class MailBrokerWhatsappService(Component):
|
||||||
image_id = message.get(key).get("id")
|
image_id = message.get(key).get("id")
|
||||||
if image_id:
|
if image_id:
|
||||||
image_info_request = requests.get(
|
image_info_request = requests.get(
|
||||||
"https://graph.facebook.com/v%s/%s" % (
|
"https://graph.facebook.com/v%s/%s"
|
||||||
self.collection.whatsapp_version,
|
% (self.collection.whatsapp_version, image_id,),
|
||||||
image_id,
|
|
||||||
),
|
|
||||||
headers={
|
headers={
|
||||||
"Authorization": "Bearer %s"
|
"Authorization": "Bearer %s"
|
||||||
% self.broker_id.token,
|
% self.broker_id.token,
|
||||||
|
|
Loading…
Reference in New Issue