diff --git a/trifid-api/src/routes/v1/networks.rs b/trifid-api/src/routes/v1/networks.rs index 9a0497a..c7cd6b3 100644 --- a/trifid-api/src/routes/v1/networks.rs +++ b/trifid-api/src/routes/v1/networks.rs @@ -394,8 +394,8 @@ pub async fn get_network_request( } else { HttpResponse::NotFound().json(APIErrorsResponse { errors: vec![APIError { - code: "ERR_MISSING_NETWORK".to_string(), - message: "Network does not exist".to_string(), + code: "ERR_NOT_FOUND".to_string(), + message: "resource not found".to_string(), path: None, }], })