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

Update to fix this query result #108

Merged
merged 1 commit into from
Oct 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/services/timelineService.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async function getProjectPhaseId(challengeLegacyId, phaseTypeId) {
} finally {
await connection.closeAsync()
}
const project_phase_id = _.get(result, '[0].project_phase_id', null)
const project_phase_id = _.get(result, '[0]', null)
logger.info(`Project phase ID: ${project_phase_id}`)
return project_phase_id
}
Expand Down