mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 00:18:45 +01:00
Relax migration schema a bit
This commit is contained in:
@@ -8,6 +8,7 @@ import { safeParseUnknown } from '../../util/schemas.std.js';
|
||||
|
||||
const toNullable = z
|
||||
.string()
|
||||
.or(z.null())
|
||||
.optional()
|
||||
.transform(value => value || undefined);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user