Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using zod for validation on voting API endpoints #1476

Merged
merged 8 commits into from
Mar 12, 2024

add voteSchema validation to removeVote API endpoint

234b7b5
Select commit
Loading
Failed to load commit list.
Merged

Switch to using zod for validation on voting API endpoints #1476

add voteSchema validation to removeVote API endpoint
234b7b5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Mar 11, 2024 in 0s

18.7500% of diff hit (target 60.0000%)

View this Pull Request on Codecov

18.7500% of diff hit (target 60.0000%)

Annotations

Check warning on line 4 in common/models/zod-schemas.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/models/zod-schemas.ts#L3-L4

Added lines #L3 - L4 were not covered by tests

Check warning on line 27 in common/models/zod-schemas.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/models/zod-schemas.ts#L22-L27

Added lines #L22 - L27 were not covered by tests

Check warning on line 307 in server/api/room.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/api/room.ts#L307

Added line #L307 was not covered by tests

Check warning on line 309 in server/api/room.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/api/room.ts#L309

Added line #L309 was not covered by tests

Check warning on line 325 in server/api/room.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/api/room.ts#L324-L325

Added lines #L324 - L325 were not covered by tests