Fixed compile issue regardign :: vs . typo
This commit is contained in:
parent
dd3bbeabd8
commit
20f6273ad7
@ -110,7 +110,7 @@ pub async fn create_invite(conn: &Conn, response: &mut Response<Body>) {
|
|||||||
|
|
||||||
match db_result {
|
match db_result {
|
||||||
Ok(d) => {
|
Ok(d) => {
|
||||||
*response.body_mut() = Body::from(invite::as_json_str());
|
*response.body_mut() = Body::from(invite.as_json_str());
|
||||||
*response.status_mut() = StatusCode::OK;
|
*response.status_mut() = StatusCode::OK;
|
||||||
}
|
}
|
||||||
Err(e) => {}
|
Err(e) => {}
|
||||||
|
Loading…
Reference in New Issue
Block a user