Skip to content

Commit ab7f71d

Browse files
committed
Remove condition expression
1 parent 4491866 commit ab7f71d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

backend/src/reports/reports.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,6 @@ export class ReportsService {
411411
id,
412412
}),
413413
UpdateExpression: 'SET bookmarked = :bookmarked, updatedAt = :updatedAt',
414-
ConditionExpression: 'userId = :userId', // Ensure the report belongs to the user
415414
ExpressionAttributeValues: marshall({
416415
':bookmarked': bookmarked,
417416
':updatedAt': new Date().toISOString(),

0 commit comments

Comments
 (0)