cargo fmt changes

The PR build seems to fail without this...
This commit is contained in:
Jeremy Lin 2021-05-15 22:46:37 -07:00
parent c42bcae224
commit 38104ba7cf

View File

@ -308,7 +308,8 @@ fn invite_user(data: Json<InviteData>, _token: AdminToken, conn: DbConn) -> Json
}
user.save(&conn)
})().map_err(|e| e.with_code(Status::InternalServerError.code))?;
})()
.map_err(|e| e.with_code(Status::InternalServerError.code))?;
Ok(Json(user.to_json(&conn)))
}