Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
noharu36 authored and noharu36 committed Jul 15, 2024
1 parent 5dbc8ca commit 0d302d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/handler/test_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ pub struct CreateTestObjPayload {
impl CreateTestObjMutation {
async fn create_obj(
&self,
input: CreateTestObjInput
input: CreateTestObjInput,
) -> Result<CreateTestObjPayload, async_graphql::Error> {
let Ok(obj) = usecase::test::create_obj(input.name, input.num) else {
return Err(async_graphql::Error {
message: "yuorei".to_string(),
source: None,
extensions: None
})
extensions: None,
});
};

Ok(CreateTestObjPayload{ obj })
Ok(CreateTestObjPayload { obj })
}
}

0 comments on commit 0d302d5

Please sign in to comment.