Skip to content

Commit

Permalink
change validator name
Browse files Browse the repository at this point in the history
  • Loading branch information
ElyasMehraein committed Apr 29, 2024
1 parent 1c26dce commit bf6f26d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/api/auth/signup/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import connectToDb from "@/configs/db"
import { createHash } from "crypto";
import { SMSOtpvalidator } from "@/controllers/smsotp.js"
import jwt from "jsonwebtoken";
import { phoneFormatCheck, SMSFormatCheck } from "@/controllers/validator"
import { phoneFormatCheck, SMSFormatCheck } from "@/controllers/validators"
import { cookies } from 'next/headers'


Expand Down
2 changes: 1 addition & 1 deletion components/templates/welcome/Welcome.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import TextField from "@mui/material/TextField";
import { useState, useEffect } from "react";
import hands from "@/public/m-hands.png"
import { useRouter } from "next/navigation";
import { phoneFormatCheck, SMSFormatCheck } from "@/controllers/validator";
import { phoneFormatCheck, SMSFormatCheck } from "@/controllers/validators";
import { Alert, Snackbar } from "@mui/material";


Expand Down
File renamed without changes.

0 comments on commit bf6f26d

Please sign in to comment.