diff --git a/app/cron_share_statistics.py b/app/cron_share_statistics.py index 36b15f3..3225913 100644 --- a/app/cron_share_statistics.py +++ b/app/cron_share_statistics.py @@ -22,7 +22,6 @@ query_template = f""" symbol = ? """ - def filter_data_quarterly(data): # Generate a range of quarter-end dates from the start to the end date start_date = data[0]['date'] diff --git a/app/ml_models/__pycache__/classification.cpython-310.pyc b/app/ml_models/__pycache__/classification.cpython-310.pyc old mode 100755 new mode 100644 index 8d5f85f..7b01aab Binary files a/app/ml_models/__pycache__/classification.cpython-310.pyc and b/app/ml_models/__pycache__/classification.cpython-310.pyc differ diff --git a/fastify/get-notifications/server.js b/fastify/get-notifications/server.js index f273f9d..e6d017a 100755 --- a/fastify/get-notifications/server.js +++ b/fastify/get-notifications/server.js @@ -11,7 +11,7 @@ module.exports = function (fastify, opts, done) { try { output = await pb.collection("notifications").getFullList({ - filter: `opUser="${userId}"`, + filter: `opUser="${userId}" && readed = false`, expand: 'user,post,comment', sort: '-created' });