Skip to content

Commit d36df0e

Browse files
committed
github: remove path field from GraphQL error responses
The field is not actually used in the code, and not all the GraphQL errors have a path attached to them.
1 parent c772c80 commit d36df0e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/github.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ struct GraphResponse<T> {
158158
#[derive(Debug, Deserialize)]
159159
struct GraphError {
160160
message: String,
161-
path: serde_json::Value,
162161
}
163162

164163
#[derive(Debug, Deserialize)]

0 commit comments

Comments
 (0)