Skip to content

Commit

Permalink
修复修改用户字段的 sql 错误
Browse files Browse the repository at this point in the history
  • Loading branch information
veoco committed Jan 10, 2023
1 parent 66cb312 commit 18696e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/users/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ pub async fn modify_option_by_uid_and_name_with_option_modify(
AnyKind::MySql => format!(
r#"
UPDATE {options_table}
SET `value"` = ?
SET `value` = ?
WHERE `name` = ? AND `user` = ?
"#,
options_table = &state.options_table
Expand Down

0 comments on commit 18696e8

Please sign in to comment.