Skip to content

Commit 88da452

Browse files
author
Shivam Tiwari
committed
made Otpid to uid in otpschema
1 parent b01b0b2 commit 88da452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/otpStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import connector from "#models/databaseUtil";
22
const {Schema}=connector;
33

44
const otpStoreSchema=new Schema({
5-
otpID:{type:String,unique:true,required:true},
5+
uid:{type:String,unique:true,required:true},
66
otp:{type:String,required:true,unique:true}
77
})
88

0 commit comments

Comments
 (0)