Skip to content

Commit

Permalink
Refactor args to wrap validationResult in a data object [elifescience…
Browse files Browse the repository at this point in the history
  • Loading branch information
nlisgo committed Dec 18, 2024
1 parent d708f44 commit 9c39a1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ app.post('/manuscript-data', async (req, res) => {
randomBytes(4).toString('hex'),
].join('-'),
args: [
validationResult.value,
{
data: validationResult.value,

Check failure on line 120 in src/app.ts

View workflow job for this annotation

GitHub Actions / test

Trailing spaces not allowed
},
],
})
.then((result) => `${config.temporalUi}/namespaces/${namespace}/workflows/${result.workflowId}/${result.firstExecutionRunId}`)
Expand Down

0 comments on commit 9c39a1f

Please sign in to comment.