Fix missing dynamodb key status code to fix has_item. Closes #20
This commit is contained in:
parent
4c8244b755
commit
755fe6563b
3 changed files with 10 additions and 5 deletions
|
|
@ -195,7 +195,7 @@ class DynamoHandler(BaseResponse):
|
|||
return dynamo_json_dump(item_dict)
|
||||
else:
|
||||
er = 'com.amazonaws.dynamodb.v20111205#ResourceNotFoundException'
|
||||
return self.error(er)
|
||||
return self.error(er, status=404)
|
||||
|
||||
def batch_get_item(self):
|
||||
table_batches = self.body['RequestItems']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue