Skip to content

Commit

Permalink
Fixes broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
elias-garcia committed Nov 8, 2023
1 parent d15d61c commit d620a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/adapters/api/credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,13 +448,13 @@ export async function getIssuedQRCode({
}

export type ImportQRCode = {
qrCode?: unknown;
qrCode: string;
status: "done" | "pending" | "pendingPublish";
};

const importQRCodeParser = getStrictParser<ImportQRCode>()(
z.object({
qrCode: z.unknown(),
qrCode: z.string(),
status: z.union([z.literal("done"), z.literal("pendingPublish"), z.literal("pending")]),
})
);
Expand Down

0 comments on commit d620a13

Please sign in to comment.