Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/biothings/bte-server into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Nov 20, 2024
2 parents a69cb5d + ff16bfa commit 05b8666
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/controllers/threading/threadHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,16 @@ export async function runTask(req: Request, res: Response, route: string, useBul
options: {
logLevel: (req.body as TrapiQuery).log_level || (req.query.log_level as string),
submitter: (req.body as TrapiQuery).submitter,
smartAPIID: req.params.smartAPIID,
teamName: req.params.teamName,
...req.query,
},
params: req.params,
endpoint: req.originalUrl,
traceparent: traceparent,
tracestate: tracestate,
},
};
} as TaskInfo;

if ((req.body as TrapiQuery)?.bypass_cache) {
taskInfo.data.options.caching = false;
Expand Down

0 comments on commit 05b8666

Please sign in to comment.