We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5086efd + b28bc58 commit 1975e22Copy full SHA for 1975e22
src/standards/Arbitrable.js
@@ -176,8 +176,11 @@ class Arbitrable extends StandardContract {
176
}
177
}`,
178
};
179
- const dispute = (await (await fetch(subgraph, { method: "POST", body: JSON.stringify(query) })).json())?.data
180
- ?.disputes;
+ const dispute = (await (await fetch(subgraph, { method: "POST",
+ body: JSON.stringify(query),
181
+ headers: {
182
+ 'Content-Type': 'application/json',
183
+ }, })).json())?.data?.disputes;
184
return (
185
await Promise.allSettled(
186
dispute[0]?.evidenceGroup?.evidence.map(async (evidence) => {
0 commit comments