We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4491866 commit ab7f71dCopy full SHA for ab7f71d
backend/src/reports/reports.service.ts
@@ -411,7 +411,6 @@ export class ReportsService {
411
id,
412
}),
413
UpdateExpression: 'SET bookmarked = :bookmarked, updatedAt = :updatedAt',
414
- ConditionExpression: 'userId = :userId', // Ensure the report belongs to the user
415
ExpressionAttributeValues: marshall({
416
':bookmarked': bookmarked,
417
':updatedAt': new Date().toISOString(),
0 commit comments