Merge pull request #2289 from spulec/fix-2275
Fix for UpdateExpression with newline. Closes #2275.
This commit is contained in:
commit
12aa5dddf7
@ -565,7 +565,7 @@ class DynamoHandler(BaseResponse):
|
||||
name = self.body['TableName']
|
||||
key = self.body['Key']
|
||||
return_values = self.body.get('ReturnValues', 'NONE')
|
||||
update_expression = self.body.get('UpdateExpression')
|
||||
update_expression = self.body.get('UpdateExpression', '').strip()
|
||||
attribute_updates = self.body.get('AttributeUpdates')
|
||||
expression_attribute_names = self.body.get(
|
||||
'ExpressionAttributeNames', {})
|
||||
|
Loading…
Reference in New Issue
Block a user