mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-23 10:56:35 +01:00
[Test] Use JSON
This commit is contained in:
parent
1894e9052a
commit
38d9f736aa
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ const request = (endpoint, params, me) => new Promise((ok, ng) => {
|
|||
req = req.attach(file[0], file[1]);
|
||||
}
|
||||
|
||||
req.set('content-type', 'application/x-www-form-urlencoded').send(Object.assign(auth, params))
|
||||
req.send(Object.assign(auth, params))
|
||||
.end((err, res) => {
|
||||
ok(res);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue