Skip to content

Commit

Permalink
fix reset kit
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Jan 4, 2025
1 parent 712f0fa commit e1a4292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.

This file was deleted.

4 changes: 2 additions & 2 deletions bin/db/src/handler/reset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ impl Handler for Request {
sqlx::query!(
r#"
INSERT INTO
gear_bank_purchases (member, class, quantity, company)
gear_bank_purchases (member, class, quantity, personal, company)
VALUES
($1, $2, $3, (SELECT SUM(company_current + personal_current) FROM gear_item_current_cost($2)))
($1, $2, $3, 0, (SELECT SUM(company_current + personal_current) FROM gear_item_current_cost($2)))
"#,
member.to_string(),
item.0,
Expand Down

0 comments on commit e1a4292

Please sign in to comment.