fix: Need a space for the token to work

This commit is contained in:
Sayantan Santra 2024-11-06 21:52:06 -06:00
parent 8a3e6fa35f
commit 64ab240a8a
Signed by: SinTan1729
GPG key ID: 0538DD402EA50898

View file

@ -57,7 +57,7 @@ def send_notif(appstate, error=False):
'Title': encoded_title} 'Title': encoded_title}
try: try:
token = config[entry]['token'] token = config[entry]['token']
headers['Authorization'] = 'Bearer' + token headers['Authorization'] = 'Bearer ' + token
except: except:
continue continue
try: try: