diff options
Diffstat (limited to 'src/db/incomes.rs')
-rw-r--r-- | src/db/incomes.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/incomes.rs b/src/db/incomes.rs index 2952d62..e5c3164 100644 --- a/src/db/incomes.rs +++ b/src/db/incomes.rs @@ -18,7 +18,7 @@ WHERE incomes.deleted_at IS NULL "#; - let res = sqlx::query(&query) + let res = sqlx::query(query) .map(|row: SqliteRow| row.get("count")) .fetch_one(pool) .await; @@ -169,7 +169,7 @@ WHERE AND deleted_at IS NULL "#; - let res = sqlx::query(&query) + let res = sqlx::query(query) .bind(user_id) .bind(date) .map(|row: SqliteRow| row.get("id")) |