Remove console.log debugging
This commit is contained in:
		
							parent
							
								
									6bcac29211
								
							
						
					
					
						commit
						96587f3a42
					
				| @ -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
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user