We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1263fb7 commit 73fdc95Copy full SHA for 73fdc95
crates/service/src/routes/health.rs
@@ -36,7 +36,7 @@ impl IntoResponse for CheckHealthError {
36
CheckHealthError::RequestFailed => StatusCode::BAD_GATEWAY,
37
};
38
let body = serde_json::json!({
39
- "error": self.to_string(),
+ "errors": [self.to_string()],
40
});
41
(status, Json(body)).into_response()
42
}
docs/Queries.md
@@ -98,7 +98,7 @@ curl http://localhost:7600/subgraphs/health/QmacQnSgia4iDPWHpeY6aWxesRFdb8o5DKZU
98
99
```json
100
{
101
- "error": "Deployment not found"
+ "errors": ["Deployment not found"]
102
103
```
104
0 commit comments