Fix incorrect dynamodb2 delete_item response
Attribute field must be a mapping (not a list)
This commit is contained in:
parent
8fcb63d661
commit
43ceb8b06a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue