Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

All

Manav Rathi8e923fe443fa
diff --git a/web/apps/cast/src/services/pair.ts b/web/apps/cast/src/services/pair.ts
index 9edea9ca4f..bc50f19b59 100644
--- a/web/apps/cast/src/services/pair.ts
+++ b/web/apps/cast/src/services/pair.ts
@@ -81,7 +81,7 @@ export const register = async (): Promise<Registration> => {
await generateKeyPair();
// Register keypair with museum to get a pairing code.
- let pairingCode: string;
+ let pairingCode: string | undefined;
// eslint has fixed this spurious warning, but we're not on the latest
// version yet, so add a disable.
// https://github.com/eslint/eslint/pull/18286