diff --git a/src/server/api/endpoints/users/recommendation.ts b/src/server/api/endpoints/users/recommendation.ts index c25da9edce..d903c8f1f1 100644 --- a/src/server/api/endpoints/users/recommendation.ts +++ b/src/server/api/endpoints/users/recommendation.ts @@ -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 {