Skip to content

Commit 26fec2e

Browse files
Fixed comment
1 parent f7d570f commit 26fec2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/services/ReviewService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function * _updateReview (authUser, reviewId, entity) {
166166
}
167167
}
168168

169-
// If legacy submission ID exists, add it to the update expression
169+
// If metadata exists, add it to the update expression
170170
if (entity.metadata || exist.metadata) {
171171
record['UpdateExpression'] = record['UpdateExpression'] + `, metadata = :ma`
172172
record['ExpressionAttributeValues'][':ma'] = _.merge({}, exist.metadata, entity.metadata)

src/services/ReviewSummationService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function * _updateReviewSummation (authUser, reviewSummationId, entity) {
176176
}
177177
}
178178

179-
// If legacy submission ID exists, add it to the update expression
179+
// If metadata exists, add it to the update expression
180180
if (entity.metadata || exist.metadata) {
181181
record['UpdateExpression'] = record['UpdateExpression'] + `, metadata = :ma`
182182
record['ExpressionAttributeValues'][':ma'] = _.merge({}, exist.metadata, entity.metadata)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy