Skip to content

Commit

Permalink
Fix the building error
Browse files Browse the repository at this point in the history
  • Loading branch information
photino committed Dec 7, 2023
1 parent b6b374c commit b87d92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zino/src/controller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ where

let data = req.parse_body::<Vec<Map>>().await?;
let extension = req.get_data::<<Self as ModelHooks>::Extension>();
let upsert_mode = req.get_str("mode") == Some("upsert");
let upsert_mode = req.get_query("mode") == Some("upsert");
let no_check = query.no_check();
let limit = query.limit();
let mut rows_affected = 0;
Expand Down

0 comments on commit b87d92f

Please sign in to comment.