Skip to content

Commit 5f934ab

Browse files
authored
Merge pull request #1397 from danielgerlag/copilot/fix-579d54a5-a645-4ded-9e91-d033a95e80df
Fix DynamoDB UpdateExpression syntax error in MarkEventUnprocessed method
2 parents 5d97b12 + af8ab76 commit 5f934ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/WorkflowCore.Providers.AWS/Services/DynamoPersistenceProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ public async Task MarkEventUnprocessed(string id, CancellationToken cancellation
389389
{
390390
{ "id", new AttributeValue(id) }
391391
},
392-
UpdateExpression = "ADD not_processed = :n",
392+
UpdateExpression = "ADD not_processed :n",
393393
ExpressionAttributeValues = new Dictionary<string, AttributeValue>
394394
{
395395
{ ":n" , new AttributeValue { N = 1.ToString() } }

0 commit comments

Comments
 (0)