Skip to content

Commit

Permalink
fix: condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Apr 12, 2024
1 parent 085d146 commit 1c7ecac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1c7ecac

Please sign in to comment.