Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Prathamesh483 committed Dec 7, 2024
1 parent 7231642 commit 5d57052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemas/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class UserSchema {
registerSchema = joi.object().keys({
email: joi.string().email().required(),
password: joi.string().min(5).required(),
referral_code: joi.string().required(),
referral_code: joi.string().optional(),
// name: joi.string().min(2).required()
});

Expand Down

0 comments on commit 5d57052

Please sign in to comment.