style: format code with Prettier

This commit fixes the style issues introduced in fd132eb according to the output
from Prettier.

Details: None
This commit is contained in:
deepsource-autofix[bot] 2024-05-11 15:26:32 +00:00 committed by GitHub
parent fd132ebf97
commit 36e7457614
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,7 +74,7 @@ export async function getItemsByUUID(items: string[]): Promise<Item[]> {
} }
export async function getItemByUUID(uuid: string): Promise<Item> { export async function getItemByUUID(uuid: string): Promise<Item> {
const data = await getItemsByUUID([uuid]) const data = await getItemsByUUID([uuid]);
if (data.length !== 1) { if (data.length !== 1) {
throw new Error("Resource could not be found"); throw new Error("Resource could not be found");
} }
@ -130,5 +130,5 @@ export async function postVerifyCart(
}); });
await fakeDelay(1); await fakeDelay(1);
return newCartData return newCartData;
} }