bug fixed
This commit is contained in:
parent
8677df0340
commit
2e6f1c207c
|
@ -11,8 +11,8 @@ services:
|
|||
environment:
|
||||
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||
restart: always
|
||||
# build: . # uncomment this line to build from source
|
||||
image: ghcr.io/linkwarden/linkwarden:latest # comment this line to build from source
|
||||
build: . # uncomment this line to build from source
|
||||
# image: ghcr.io/linkwarden/linkwarden:latest # comment this line to build from source
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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>",
|
||||
|
|
Ŝarĝante…
Reference in New Issue