Skip to content

Commit

Permalink
vv
Browse files Browse the repository at this point in the history
  • Loading branch information
MatMaul committed May 14, 2024
1 parent ac99d2c commit cc0cab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sygnal/gcmpushkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ async def _dispatch_notification_unlimited(
if self.api_version == APIVersion.Legacy:
headers["Authorization"] = ["key=%s" % (self.api_key,)]
elif self.api_version is APIVersion.V1:
headers["Authorization"] = ["Bearer %s" % (self._get_access_token(),)]
headers["Authorization"] = ["Bearer %s" % (await self._get_access_token(),)]

body = self.base_request_body.copy()
body["data"] = data
Expand Down

0 comments on commit cc0cab3

Please sign in to comment.