We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5086efd commit b28bc58Copy full SHA for b28bc58
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