Skip to content

Commit

Permalink
[update]
Browse files Browse the repository at this point in the history
  • Loading branch information
boke0 committed Mar 6, 2021
1 parent 11d5e50 commit e5ed1d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mitama/models/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,9 +592,9 @@ def push(self, data):
webpush(
subscription_info=json.loads(self.subscription),
data=json.dumps(data),
vapid_private_key=self._project.vapid.private_key,
vapid_private_key=self._project.vapid['private_key'],
vapid_claims={
"sub": "mailto:{}".format(self._project.vapid.mailto)
"sub": "mailto:{}".format(self._project.vapid['mailto'])
}
)
except Exception as err:
Expand Down

0 comments on commit e5ed1d5

Please sign in to comment.