mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-21 05:10:41 +00:00
fix: allow nullable name fields in user and cipher interfaces for better flexibility
This commit is contained in:
@@ -116,7 +116,7 @@ export async function handleCreateCipher(request: Request, env: Env, userId: str
|
||||
userId: userId,
|
||||
type: Number(cipherData.type) || 1,
|
||||
folderId: cipherData.folderId || null,
|
||||
name: cipherData.name,
|
||||
name: cipherData.name || null,
|
||||
notes: cipherData.notes || null,
|
||||
favorite: cipherData.favorite || false,
|
||||
login: cipherData.login || null,
|
||||
|
||||
Reference in New Issue
Block a user