feat(api): weekly report fix
This commit is contained in:
parent
6b6f23f39d
commit
75b93aebcb
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ def edit_config(user_id, weekly_report):
|
|||
|
||||
|
||||
def cron():
|
||||
with pg_client.PostgresClient(long_query=True) as cur:
|
||||
with pg_client.PostgresClient() as cur:
|
||||
params = {"3_days_ago": TimeUTC.midnight(delta_days=-3),
|
||||
"1_week_ago": TimeUTC.midnight(delta_days=-7),
|
||||
"2_week_ago": TimeUTC.midnight(delta_days=-14),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue