Skip to content

Commit 2b6e726

Browse files
fix assignment to const
1 parent a276e28 commit 2b6e726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dao/RegistrationDAO.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ async function registerComponentInquiry (userId, challengeId) {
544544
}
545545
logger.info(`compInfo: ${JSON.stringify(compInfo)}`)
546546
const [userRating] = await getUserRating(userId, parseInt(compInfo.projectcategoryid, 10) + 111)
547-
const rating = null
547+
let rating = null
548548
if (userRating) {
549549
rating = userRating.rating
550550
}

0 commit comments

Comments
 (0)