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

Commit 1fc3409

Browse files
committed
Testing
1 parent c156bac commit 1fc3409

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/groupsService.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ async function removeGroupFromChallenge (challengeLegacyId, groupLegacyId) {
8989

9090
if (groupEligibilityRecord) {
9191
await deleteGroupEligibilityRecord(connection, eligibilityId, groupLegacyId)
92-
// logger.debug('Getting Groups Count')
92+
logger.debug('Getting Groups Count')
9393
const { groupsCount } = await getCountOfGroupsInEligibilityRecord(connection, eligibilityId)
94-
// logger.debug(`${groupsCount} groups exist`)
94+
logger.debug(`${groupsCount} groups exist`)
9595
if (groupsCount <= 0) {
9696
logger.debug('No groups exist, deleting')
9797
await deleteEligibilityRecord(connection, eligibilityId)
@@ -132,7 +132,7 @@ async function getChallengeEligibilityId (connection, challengeLegacyId) {
132132
async function groupEligbilityExists (connection, eligibilityId, groupLegacyId) {
133133
logger.debug(`groupEligibiltyExists query ${util.format(QUERY_GET_GROUP_ELIGIBILITY_ID, eligibilityId, groupLegacyId)}`)
134134
const result = connection.queryAsync(util.format(QUERY_GET_GROUP_ELIGIBILITY_ID, eligibilityId, groupLegacyId))
135-
logger.debug(`groupEligibiltyExists result ${JSON.stringify(result)}`)
135+
logger.debug(`groupEligibiltyExists result ${JSON.stringify(result)} ${JSON.stringify(result[0])}`)
136136
return (result && result[0]) || false
137137
}
138138

0 commit comments

Comments
 (0)