networks:get, networks:list error parity

References: https://todo.e3t.cc/~core/trifid/1
This commit is contained in:
core 2023-07-31 00:24:17 -04:00
parent ea3bc9e429
commit 44fc07089d
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 2 additions and 2 deletions

View File

@ -394,8 +394,8 @@ pub async fn get_network_request(
} else { } else {
HttpResponse::NotFound().json(APIErrorsResponse { HttpResponse::NotFound().json(APIErrorsResponse {
errors: vec![APIError { errors: vec![APIError {
code: "ERR_MISSING_NETWORK".to_string(), code: "ERR_NOT_FOUND".to_string(),
message: "Network does not exist".to_string(), message: "resource not found".to_string(),
path: None, path: None,
}], }],
}) })