1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-16 20:20:38 +09:00

style: cosmetic changes

This commit is contained in:
uetchy 2020-08-31 09:45:25 +09:00 committed by uetchy
parent e4736ba170
commit 1b1be2f9f8
2 changed files with 4 additions and 2 deletions

View File

@ -42,7 +42,7 @@ export default async function handler(
price: app.price,
viewURL: app.trackViewUrl,
}));
send(res, { result: apps || [] });
send(res, { result: apps });
} catch (err) {
sendError(res, err);
}

View File

@ -15,7 +15,9 @@ export function fetch(
url: string,
method: HttpMethod = 'HEAD'
): Promise<Response> {
return nodeFetch(url, { method: method });
return nodeFetch(url, {
method: method,
});
}
export function send(res: NowResponse, data: object): void {