This commit is contained in:
Aevann1 2022-01-15 08:01:39 +02:00
parent 54ea39c62d
commit 9c6ff97e4d
10 changed files with 14 additions and 15 deletions

View file

@ -17,7 +17,7 @@ else: cc = "COUNTRY CLUB"
IMGUR_KEY = environ.get("IMGUR_KEY").strip()
beams_client = PushNotifications(
instance_id=PUSHER_INSTANCE_ID,
instance_id=PUSHER_ID,
secret_key=PUSHER_KEY,
)
@ -469,7 +469,7 @@ def api_comment(v):
if parent.author.id != v.id:
try:
beams_client.publish_to_interests(
interests=[str(parent.author.id)],
interests=[f'{request.host}{parent.author.id}'],
publish_body={
'web': {
'notification': {