Merge pull request #859 from linkwarden/dev

Dev
This commit is contained in:
Daniel 2024-11-14 15:45:17 -05:00 committed by GitHub
commit 95dddd7da0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ export const PostUserSchema = () => {
password: z.string().min(8).max(2048).optional(),
email: emailEnabled
? z.string().trim().email().toLowerCase()
: z.string().optional(),
: z.string().nullish(),
username: emailEnabled
? z.string().optional()
: z
@ -59,7 +59,7 @@ export const UpdateUserSchema = () => {
name: z.string().trim().min(1).max(50).optional(),
email: emailEnabled
? z.string().trim().email().toLowerCase()
: z.string().optional(),
: z.string().nullish(),
username: z
.string()
.trim()

View File

@ -1,6 +1,6 @@
{
"name": "linkwarden",
"version": "v2.8.2",
"version": "v2.8.3",
"main": "index.js",
"repository": "https://github.com/linkwarden/linkwarden.git",
"author": "Daniel31X13 <daniel31x13@gmail.com>",