Skip to content

Commit

Permalink
fix fixed extract marco
Browse files Browse the repository at this point in the history
  • Loading branch information
fankaiLiu committed Nov 30, 2023
1 parent 71fc80e commit 07e7afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/template/src/dtos/user.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub struct UserLoginRequest {
}

#[derive(Debug, Deserialize,Extractible,ToSchema, Default)]
#[salvo(extract(default_source(from = "body", format = "json")))]
#[salvo(extract(default_source(from = "body", parse = "json")))]
pub struct UserUpdateRequest {
#[salvo(extract(source(from = "param")))]
pub id: String,
Expand Down

0 comments on commit 07e7afa

Please sign in to comment.