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

Commit 2f6ae07

Browse files
authored
Merge pull request #108 from topcoder-platform/multi-round-sync
Update to fix this query result
2 parents 14e5051 + 1786aff commit 2f6ae07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/timelineService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async function getProjectPhaseId(challengeLegacyId, phaseTypeId) {
101101
} finally {
102102
await connection.closeAsync()
103103
}
104-
const project_phase_id = _.get(result, '[0].project_phase_id', null)
104+
const project_phase_id = _.get(result, '[0]', null)
105105
logger.info(`Project phase ID: ${project_phase_id}`)
106106
return project_phase_id
107107
}

0 commit comments

Comments
 (0)