Skip to content

Commit

Permalink
fix: add solution action
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Jan 9, 2024
1 parent 65e098d commit 5a3a910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/routers/actions/solutions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const listSolutions = protectedProcedure

export const addSolution = protectedProcedure
.input(SolutionAddSchema)
.query(async opts => as({ id: uuidv4(), ...opts.input }))
.query(async opts => as({ ...opts.input }))

export const getSolution = protectedProcedure
.input(SolutionGetSchema)
Expand Down

0 comments on commit 5a3a910

Please sign in to comment.