fix: ensure remote access fields default to null
This commit is contained in:
parent
07d631de40
commit
d1569083de
1 changed files with 2 additions and 0 deletions
|
|
@ -406,6 +406,8 @@ function normalizeDeviceRemoteAccessEntry(raw: unknown): DeviceRemoteAccessEntry
|
||||||
clientId: createRemoteAccessClientId(),
|
clientId: createRemoteAccessClientId(),
|
||||||
provider: null,
|
provider: null,
|
||||||
identifier: isUrl ? null : trimmed,
|
identifier: isUrl ? null : trimmed,
|
||||||
|
username: null,
|
||||||
|
password: null,
|
||||||
url: isUrl ? trimmed : null,
|
url: isUrl ? trimmed : null,
|
||||||
notes: null,
|
notes: null,
|
||||||
lastVerifiedAt: null,
|
lastVerifiedAt: null,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue