Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -201,7 +201,7 @@ class EndpointHandler:
|
|
| 201 |
self.collection = self.db['imagerequests']
|
| 202 |
|
| 203 |
self.query = {"requestTimestamp": {"$gt": "1742815635"}}
|
| 204 |
-
self.projection = {"_id": 0, "
|
| 205 |
|
| 206 |
def __call__(self, data: Dict[str, Any]) -> str:
|
| 207 |
logger.info(f"Received incoming request with {data=}")
|
|
|
|
| 201 |
self.collection = self.db['imagerequests']
|
| 202 |
|
| 203 |
self.query = {"requestTimestamp": {"$gt": "1742815635"}}
|
| 204 |
+
self.projection = {"_id": 0, "createdImage": 1}
|
| 205 |
|
| 206 |
def __call__(self, data: Dict[str, Any]) -> str:
|
| 207 |
logger.info(f"Received incoming request with {data=}")
|