You've already forked AstralRinth
forked from didirus/AstralRinth
Add details to Mural API errors (#4886)
This commit is contained in:
@@ -5,6 +5,7 @@ pub async fn not_found() -> impl Responder {
|
||||
let data = ApiError {
|
||||
error: "not_found",
|
||||
description: "the requested route does not exist".to_string(),
|
||||
details: None,
|
||||
};
|
||||
|
||||
HttpResponse::NotFound().json(data)
|
||||
|
||||
Reference in New Issue
Block a user