1
0
mirror of https://github.com/uetchy/namae.git synced 2026-06-01 02:59:46 +09:00

style: cosmetic changes

This commit is contained in:
2020-08-31 09:45:25 +09:00
committed by uetchy
parent e4736ba170
commit 1b1be2f9f8
2 changed files with 4 additions and 2 deletions
+1 -1
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);
}
+3 -1
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 {