mirror of https://github.com/Lissy93/dashy.git
🩹 Send request body as data instead of json
This commit is contained in:
parent
bfcccd0139
commit
78ea929c93
|
@ -33,7 +33,7 @@ module.exports = (req, res) => {
|
||||||
const requestConfig = {
|
const requestConfig = {
|
||||||
method: req.method,
|
method: req.method,
|
||||||
url: targetURL,
|
url: targetURL,
|
||||||
json: req.body,
|
data: req.body,
|
||||||
headers,
|
headers,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue