Fix for UpdateExpression with newline. Closes #2275.
This commit is contained in:
parent
e77c4e3d09
commit
53f8997d62
@ -626,7 +626,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