mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2024-12-29 10:56:15 +00:00
Merge pull request #18 from Fluffy-Bean/deepsource-transform-5ec0c0cc
style: format code with Prettier
This commit is contained in:
commit
3745e6b1b4
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue