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

Commit e40bbd7

Browse files
authored
Merge pull request #104 from topcoder-platform/multi-round-sync
Better return value, not an ODBCResult
2 parents 5a40fe9 + 87aa097 commit e40bbd7

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
@@ -98,7 +98,7 @@ async function getProjectPhaseId(challengeLegacyId, phaseTypeId) {
9898
} finally {
9999
await connection.closeAsync()
100100
}
101-
return result
101+
return _.get(result, '[0].project_phase_id', null)
102102
}
103103
/**
104104
* Drop challenge phase

0 commit comments

Comments
 (0)