parent
8111dee595
commit
e7da2d7009
|
@ -822,8 +822,8 @@ pub async fn get_role(
|
||||||
} else {
|
} else {
|
||||||
HttpResponse::NotFound().json(APIErrorsResponse {
|
HttpResponse::NotFound().json(APIErrorsResponse {
|
||||||
errors: vec![APIError {
|
errors: vec![APIError {
|
||||||
code: "ERR_MISSING_ROLE".to_string(),
|
code: "ERR_NOT_FOUND".to_string(),
|
||||||
message: "Role does not exist".to_string(),
|
message: "resource not found".to_string(),
|
||||||
path: None,
|
path: None,
|
||||||
}],
|
}],
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue