mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-01-14 10:35:19 +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> {
|
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