update endpoint
This commit is contained in:
parent
8b66649a3f
commit
17861ccda5
@ -22,7 +22,6 @@ query_template = f"""
|
|||||||
symbol = ?
|
symbol = ?
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
def filter_data_quarterly(data):
|
def filter_data_quarterly(data):
|
||||||
# Generate a range of quarter-end dates from the start to the end date
|
# Generate a range of quarter-end dates from the start to the end date
|
||||||
start_date = data[0]['date']
|
start_date = data[0]['date']
|
||||||
|
|||||||
BIN
app/ml_models/__pycache__/classification.cpython-310.pyc
Executable file → Normal file
BIN
app/ml_models/__pycache__/classification.cpython-310.pyc
Executable file → Normal file
Binary file not shown.
@ -11,7 +11,7 @@ module.exports = function (fastify, opts, done) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
output = await pb.collection("notifications").getFullList({
|
output = await pb.collection("notifications").getFullList({
|
||||||
filter: `opUser="${userId}"`,
|
filter: `opUser="${userId}" && readed = false`,
|
||||||
expand: 'user,post,comment',
|
expand: 'user,post,comment',
|
||||||
sort: '-created'
|
sort: '-created'
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user