Merge pull request #18 from Fluffy-Bean/deepsource-transform-5ec0c0cc

style: format code with Prettier
This commit is contained in:
Michał 2024-05-11 16:45:33 +01:00 committed by GitHub
commit 3745e6b1b4
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;
} }