Fix clippy lint.
This commit is contained in:
parent
753ad6dd05
commit
8cb28459a0
@ -61,7 +61,7 @@ pub(crate) async fn hook(
|
|||||||
StatusCode::INTERNAL_SERVER_ERROR,
|
StatusCode::INTERNAL_SERVER_ERROR,
|
||||||
Json(HookResponse {
|
Json(HookResponse {
|
||||||
ok: false,
|
ok: false,
|
||||||
message: Some(format!("Failed to handle push event.")),
|
message: Some("Failed to handle push event.".to_string()),
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user