mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-24 23:26:07 +09:00
[Test] Use JSON
This commit is contained in:
parent
c9d6320831
commit
c4abdd00a3
@ -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 New Issue
Block a user