diff --git a/src/index.ts b/src/index.ts index b81b67a8..a49ccecd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -333,7 +333,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_and_score' }], + workflow: [{ id: this.options.smartAPIID || this.options.teamName ? 'lookup' : 'lookup_and_score' }], message: { query_graph: this.originalQueryGraph, knowledge_graph: this.knowledgeGraph.kg,