mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 12:30:32 +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,
|
price: app.price,
|
||||||
viewURL: app.trackViewUrl,
|
viewURL: app.trackViewUrl,
|
||||||
}));
|
}));
|
||||||
send(res, { result: apps || [] });
|
send(res, { result: apps });
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
sendError(res, err);
|
sendError(res, err);
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,9 @@ export function fetch(
|
|||||||
url: string,
|
url: string,
|
||||||
method: HttpMethod = 'HEAD'
|
method: HttpMethod = 'HEAD'
|
||||||
): Promise<Response> {
|
): Promise<Response> {
|
||||||
return nodeFetch(url, { method: method });
|
return nodeFetch(url, {
|
||||||
|
method: method,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function send(res: NowResponse, data: object): void {
|
export function send(res: NowResponse, data: object): void {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user