Skip to content

Commit 0274585

Browse files
committed
fix: allow null photoURL
1 parent 7eee41d commit 0274585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/MemberService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ updateMember.schema = {
216216
})),
217217
homeCountryCode: Joi.string(),
218218
competitionCountryCode: Joi.string(),
219-
photoURL: Joi.string().uri().allow(''),
219+
photoURL: Joi.string().uri().allow('').allow(null),
220220
tracks: Joi.array().items(Joi.string())
221221
}).required()
222222
}

0 commit comments

Comments
 (0)