Commit 36bb3ca
authored
Error on SLIM 4
When performing any valid request error ```{"errors":[{"message":"GraphQL Request must include at least one of those two parameters: \"query\" or \"queryId\"","extensions":{"category":"request"}}]}``` is returned.
I've narrowed this to $request->getParsedBody() returning empty array instead of null in slim 4 framework when parsed body is empty. This will fix this issue.1 parent 4fe8fcb commit 36bb3ca
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments