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

Prod Release - v1.0.0 #15

Merged
merged 18 commits into from
Aug 19, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix for #5
  • Loading branch information
Sande3p committed Aug 14, 2021
commit 33801641e4ba90fdfa8e2f68728910c751943870
2 changes: 1 addition & 1 deletion src/modules/skill/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ async function get (id, params, query = {}, fromDb = false) {
const trueParams = _.assign(params, query)
if (!fromDb) {
const esResult = await serviceHelper.getRecordInEs(resource, id, trueParams)
await populateTaxonomyNames(esResult)
if (esResult) {
await populateTaxonomyNames(esResult)
return helper.omitAuditFields(esResult)
}
}
Expand Down