This commit is contained in:
Isaac Wise
2024-07-22 17:50:24 -05:00
parent 614653bf29
commit 7d43ed52a4
4 changed files with 29 additions and 24 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ const getPublicCollectionData = async (
) => {
const res = await fetch("/api/v1/public/collections/" + collectionId);
if (res.status === 400) return { response: "Collection not found.", status: 400 };
if (res.status === 400)
return { response: "Collection not found.", status: 400 };
const data = await res.json();