mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 05:26:54 +08:00
parent
272c2b1c7c
commit
0f589b0e5b
1 changed files with 2 additions and 2 deletions
|
@ -462,8 +462,8 @@ router.patch(
|
|||
keyboard: profileDetailsBase.max(75),
|
||||
selectedBadgeId: joi.number(),
|
||||
socialProfiles: joi.object({
|
||||
twitter: profileDetailsBase.alphanum().max(20),
|
||||
github: profileDetailsBase.alphanum().max(39),
|
||||
twitter: profileDetailsBase.regex(/^[0-9a-zA-Z_.-]+$/).max(20),
|
||||
github: profileDetailsBase.regex(/^[0-9a-zA-Z_.-]+$/).max(39),
|
||||
website: profileDetailsBase
|
||||
.uri({
|
||||
scheme: "https",
|
||||
|
|
Loading…
Add table
Reference in a new issue