Fix schema for link device for e164-less registration

This commit is contained in:
Fedor Indutny
2026-08-20 16:59:23 -04:00
committed by GitHub
parent 6b6dd67c1a
commit acd901db17
+1 -1
View File
@@ -1099,7 +1099,7 @@ export type CreateAccountOptionsType = Readonly<{
const linkDeviceResultZod = z.object({
uuid: aciSchema,
pni: untaggedPniSchema.optional(),
pni: untaggedPniSchema.nullish(),
deviceId: z.number(),
});
export type LinkDeviceResultType = z.infer<typeof linkDeviceResultZod>;