Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 2160b14

Browse files
author
James Cori
committed
Checking the wrong config flag
1 parent b183bc4 commit 2160b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/termsService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async function addTermsToChallenge (challengeLegacyId, legacyTermsId, legacyReso
5959

6060
logger.debug(`Creating Terms - adding project info record for ${challengeLegacyId}`)
6161
// add the project info record for the `Confidentiality Type`
62-
const termsProjectInfoValue = (legacyTermsId === config.V5_TERMS_NDA_ID) ? 'stanard_cca' : 'public'
62+
const termsProjectInfoValue = (legacyTermsId === config.LEGACY_TERMS_NDA_ID) ? 'stanard_cca' : 'public'
6363
const piquery = await prepare(connection, QUERY_INSERT_PROJECT_INFO_CHALLENGE_TERMS)
6464
await piquery.executeAsync([challengeLegacyId, termsProjectInfoValue, createdBy, updatedBy])
6565

0 commit comments

Comments
 (0)