mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2024-12-26 17:36:15 +00:00
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:
parent
fd132ebf97
commit
36e7457614
|
@ -74,7 +74,7 @@ export async function getItemsByUUID(items: 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) {
|
||||
throw new Error("Resource could not be found");
|
||||
}
|
||||
|
@ -130,5 +130,5 @@ export async function postVerifyCart(
|
|||
});
|
||||
|
||||
await fakeDelay(1);
|
||||
return newCartData
|
||||
return newCartData;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue