chore: update 'post' method usages to be uppercased as per HTTP spec

This commit is contained in:
Andrew Bastin
2022-04-18 21:37:15 +05:30
parent 100e562dcc
commit 62a5beb52f
3 changed files with 4 additions and 4 deletions

View File

@@ -149,7 +149,7 @@ export class GQLConnection {
.forEach((x) => (finalHeaders[x.key] = x.value))
const reqOptions = {
method: "post",
method: "POST",
url,
headers: {
...finalHeaders,
@@ -213,7 +213,7 @@ export class GQLConnection {
.forEach(({ key, value }) => (finalHeaders[key] = value))
const reqOptions = {
method: "post",
method: "POST",
url,
headers: {
...finalHeaders,