Remove console.log debugging

This commit is contained in:
Caleb Braaten 2024-04-04 13:59:27 -07:00
parent 6bcac29211
commit 96587f3a42

View File

@ -11,8 +11,6 @@ export function getImages(req: Request): Promise<Response> {
const imageList = await query_getImages.all();
console.log("imageList:", imageList);
const response = Response.json({ images: imageList });
resolve(response);
});
@ -28,7 +26,7 @@ export function getImage(req: Request): Promise<Response> {
if (!image) {
const ErrorResponse = new Response("No Images Found", { status: 404 });
reject(ErrorResponse);
resolve(ErrorResponse);
}
// Send image as response