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:
parent
e4736ba170
commit
1b1be2f9f8
@ -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);
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user