diff --git a/src/index.ts b/src/index.ts index 75fee861..00b9c36f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -337,7 +337,7 @@ export default class TRAPIQueryHandler { description: `Query processed successfully, retrieved ${results.length} results.`, schema_version: global.SCHEMA_VERSION, biolink_version: global.BIOLINK_VERSION, - workflow: [{ id: 'lookup' }], + workflow: [{ id: this.options.smartAPIID || this.options.teamName ? 'lookup' : 'lookup_and_score' }], message: { query_graph: this.originalQueryGraph, knowledge_graph: this.knowledgeGraph.kg, diff --git a/src/inferred_mode/inferred_mode.ts b/src/inferred_mode/inferred_mode.ts index e8acc251..8a601747 100644 --- a/src/inferred_mode/inferred_mode.ts +++ b/src/inferred_mode/inferred_mode.ts @@ -502,7 +502,7 @@ export default class InferredQueryHandler { description: '', schema_version: global.SCHEMA_VERSION, biolink_version: global.BIOLINK_VERSION, - workflow: [{ id: 'lookup' }], + workflow: [{ id: 'lookup_and_score' }], message: { query_graph: this.queryGraph, knowledge_graph: {