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