This commit is contained in:
MuslemRahimi 2025-02-03 16:23:46 +01:00
parent 2f8a9c8ee8
commit 3c7d04ff9b

View File

@ -128,7 +128,7 @@ async def push_wiim(user_id):
'liveResults': {'symbol': symbol, 'assetType': 'stocks' if symbol in stocks_symbols else 'etf'}, 'liveResults': {'symbol': symbol, 'assetType': 'stocks' if symbol in stocks_symbols else 'etf'},
} }
notify_item = pb.collection('notifications').create(newNotification) notify_item = pb.collection('notifications').create(newNotification)
await push_notification(f'News Update for {symbol}', data['text'], user_id) await push_notification(f'News Update for {symbol}', data['text'], user_id)
except: except:
pass pass