Fixed minor issues
This commit is contained in:
parent
82b3e626c7
commit
8628dec247
|
@ -92,8 +92,6 @@ class City(MethodResource, Resource):
|
||||||
@use_kwargs(CitySchema)
|
@use_kwargs(CitySchema)
|
||||||
def post(self, **kwargs):
|
def post(self, **kwargs):
|
||||||
try:
|
try:
|
||||||
print(kwargs)
|
|
||||||
print(request.files)
|
|
||||||
return Response(response=json.dumps({'msg': 'Hello'}), status=201)
|
return Response(response=json.dumps({'msg': 'Hello'}), status=201)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logger.error(err)
|
logger.error(err)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user