[ci] format

This commit is contained in:
bluwy 2023-09-04 15:12:28 +00:00 committed by astrobot-houston
parent d92ab06544
commit c48d4765c1
2 changed files with 11 additions and 7 deletions

View file

@ -2,8 +2,10 @@
// The content type is based off of the extension in the filename,
// in this case: about.json.
export async function GET() {
return new Response(JSON.stringify({
name: 'Astro',
url: 'https://astro.build/',
}));
return new Response(
JSON.stringify({
name: 'Astro',
url: 'https://astro.build/',
})
);
}

View file

@ -36,7 +36,9 @@ export async function POST({ cookies, request }: APIContext) {
cart.set(item.id, { id: item.id, name: item.name, count: 1 });
}
return new Response(JSON.stringify({
ok: true,
}));
return new Response(
JSON.stringify({
ok: true,
})
);
}