Merge pull request #405 from ludia/bugfix/dynamodb-delete-item-response
Fix incorrect dynamodb2 delete_item response
This commit is contained in:
commit
0b43b17579
@ -358,7 +358,7 @@ class DynamoHandler(BaseResponse):
|
||||
if return_values == 'ALL_OLD':
|
||||
item_dict = item.to_json()
|
||||
else:
|
||||
item_dict = {'Attributes': []}
|
||||
item_dict = {'Attributes': {}}
|
||||
item_dict['ConsumedCapacityUnits'] = 0.5
|
||||
return dynamo_json_dump(item_dict)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user