Skip to content

GC-10 create user params passed as json#237

Merged
filic2005 merged 5 commits intomainfrom
gc-10-create-user-params-passed-as-json
Feb 17, 2026
Merged

GC-10 create user params passed as json#237
filic2005 merged 5 commits intomainfrom
gc-10-create-user-params-passed-as-json

Conversation

@AidanKelly50
Copy link
Contributor

Description

Fixes the bug where users could not be created because the positionType, emailVisibility, and signalVisibility were being passed as JSONs instead of strings. This was because of a zod validator that forced JSON formatting. These enums are already ensured to be one of these options, so additional validation is not necessary.

Ticket URL

https://linear.app/next-consulting/issue/GC-10/create-user-params-passed-as-json

Type of Change

  • Bug fix

Scope of Change:

  • Backend

Testing

run:
npx tsx --env-file=.env scripts/create-user.ts
in /server

Copy link
Contributor

@filic2005 filic2005 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@filic2005 filic2005 merged commit d4b0e96 into main Feb 17, 2026
2 checks passed
@filic2005 filic2005 deleted the gc-10-create-user-params-passed-as-json branch February 17, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants