Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgutgon committed Sep 13, 2024
1 parent 806e3ed commit 2790fc7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ docker/pgdata/
# Next.js
next-env.d.ts

// File uploads in development
# File uploads in development
tmp

# Misc
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/actions/evaluations/runBatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const runBatchEvaluationAction = withDataset
fromLine: z.number().optional(),
toLine: z.number().optional(),
parameters: z
.record(z.number())
.record(z.number().optional())
.optional()
.superRefine(async (parameters = {}, refineCtx) => {
const metadata = await readMetadata({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export function useRunBatch({
datasetId: datasetId!,
fromLine: wantAllLines ? undefined : fromLine,
toLine: wantAllLines ? undefined : toLine,
// @ts-ignore
parameters,
})
},
Expand Down

0 comments on commit 2790fc7

Please sign in to comment.