fix image_api_get_all api call;
This commit is contained in:
@@ -35,7 +35,7 @@ class ImageEndpoint:
|
||||
metadata = MongoDBService.getAll()
|
||||
print(metadata)
|
||||
|
||||
return JsonResponse({'Result': 'success1'}, safe=False)
|
||||
return JsonResponse(metadata, safe=False)
|
||||
|
||||
@staticmethod
|
||||
@api_view(['GET'])
|
||||
|
||||
Reference in New Issue
Block a user