mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 23:51:01 -07:00
better readable code
This commit is contained in:
parent
a460ce866d
commit
f40f6c208b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) =>
|
|||
followRedirect: true,
|
||||
followAllRedirects: true
|
||||
},
|
||||
function (error: any, response: any, body: any) {
|
||||
(error: any, response: any, body: any) => {
|
||||
if (!error && response.statusCode == 200) {
|
||||
res(body)
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue