chore(SW-360): use signup naming
This commit is contained in:
@@ -7,7 +7,7 @@ import { signupVerify } from "@/constants/routes/signup"
|
||||
import * as api from "@/lib/api"
|
||||
import { serviceServerActionProcedure } from "@/server/trpc"
|
||||
|
||||
import { registerSchema } from "@/components/Forms/Register/schema"
|
||||
import { signUpSchema } from "@/components/Forms/Signup/schema"
|
||||
import { passwordValidator } from "@/utils/passwordValidator"
|
||||
import { phoneValidator } from "@/utils/phoneValidator"
|
||||
|
||||
@@ -29,7 +29,7 @@ const registerUserPayload = z.object({
|
||||
})
|
||||
|
||||
export const registerUser = serviceServerActionProcedure
|
||||
.input(registerSchema)
|
||||
.input(signUpSchema)
|
||||
.mutation(async function ({ ctx, input }) {
|
||||
const payload = {
|
||||
...input,
|
||||
|
||||
Reference in New Issue
Block a user