paste: change return signature of fetching paste
Signed-off-by: ATechnoHazard <amolele@gmail.com>
This commit is contained in:
1 file changed
+1
-1
@@ -61,7 +61,7 @@ fn fetch(id: String, conn: DbConn) -> Custom<Json<Value>> {
|
||||
}
|
||||
};
|
||||
|
||||
Custom(Status::Found, Json(json!(paste)))
|
||||
Custom(Status::Ok, Json(json!(paste)))
|
||||
}
|
||||
|
||||
pub fn fuel(rocket: Rocket) -> Rocket {
|
||||
|
||||
Reference in new issue
Block a user