diff --git a/trifid-api/src/routes/v1/roles.rs b/trifid-api/src/routes/v1/roles.rs index 93d1936..cd8b00b 100644 --- a/trifid-api/src/routes/v1/roles.rs +++ b/trifid-api/src/routes/v1/roles.rs @@ -822,8 +822,8 @@ pub async fn get_role( } else { HttpResponse::NotFound().json(APIErrorsResponse { errors: vec![APIError { - code: "ERR_MISSING_ROLE".to_string(), - message: "Role does not exist".to_string(), + code: "ERR_NOT_FOUND".to_string(), + message: "resource not found".to_string(), path: None, }], })