Fix schema of whoami response

This commit is contained in:
Fedor Indutny
2026-04-08 11:15:33 -07:00
committed by GitHub
parent 1ed0695254
commit 34447e00aa
4 changed files with 9 additions and 8 deletions

View File

@@ -1004,7 +1004,7 @@ export type GetSenderCertificateResultType = Readonly<{ certificate: string }>;
const whoamiResultZod = z.object({
uuid: z.string(),
pni: z.string(),
pni: untaggedPniSchema,
number: z.string(),
usernameHash: z.string().nullish(),
usernameLinkHandle: z.string().nullish(),