@@ -360,7 +360,7 @@ class IotCoreView(View):
endpoint = iot[0]['endpoint']
MSG = self.get_s3_key_return_msg(endpoint)
- return response.json(MSG)
+ return response.json(0,MSG)
except Exception as e:
# print(e)
return response.json(500, repr(e))