Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed May 22, 2024
1 parent e2b753d commit 27675ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/panelapi/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4149,11 +4149,12 @@ async fn query(

// Insert entry
sqlx::query!(
"INSERT INTO shop_item_benefits (id, name, description, created_by) VALUES ($1, $2, $3, $4)",
"INSERT INTO shop_item_benefits (id, name, description, created_by, updated_by) VALUES ($1, $2, $3, $4, $5)",
id,
name,
description,
&auth_data.user_id,
&auth_data.user_id,
)
.execute(&state.pool)
.await
Expand Down

0 comments on commit 27675ff

Please sign in to comment.