Format and style

Format SQL query in clean database, run npm run format
This commit is contained in:
Aaron William Po
2023-05-08 00:04:01 -04:00
parent 301a2bb247
commit 90a7cf8d56
4 changed files with 17 additions and 14 deletions

View File

@@ -27,7 +27,7 @@ const useCheckIfUserLikesBreweryPost = (breweryPostId: string) => {
const response = await fetch(`/api/breweries/${breweryPostId}/like/is-liked`);
const json = await response.json();
const parsed = APIResponseValidationSchema.safeParse(json);
if (!parsed.success) {
throw new Error('Invalid API response.');