fix: s/paylod/payload (#1910)

It's probably not paylod, it's probably missing an `a`
This commit is contained in:
Peter N
2023-07-20 00:07:36 +03:00
committed by GitHub
parent 91e69a6255
commit 6074cb0604
@@ -132,12 +132,12 @@
content={tokenType === 'query'
? `${url}?token=${token}${
requestType === 'get_path'
? `?paylod=${encodeURIComponent(btoa(JSON.stringify(args)))}`
? `?payload=${encodeURIComponent(btoa(JSON.stringify(args)))}`
: ''
}`
: `${url}${
requestType === 'get_path'
? `?paylod=${encodeURIComponent(btoa(JSON.stringify(args)))}`
? `?payload=${encodeURIComponent(btoa(JSON.stringify(args)))}`
: ''
}`}
/>