From cc9bc3cb46dd933f52fb27ab943a8b988f18bf5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio?= Date: Thu, 5 Dec 2024 11:29:09 +0000 Subject: [PATCH] Fix api key creation --- src/services/tunnel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/tunnel.ts b/src/services/tunnel.ts index 070d6ef..5c04164 100644 --- a/src/services/tunnel.ts +++ b/src/services/tunnel.ts @@ -165,7 +165,7 @@ export class TunnelService { await this.updateBitteConfig({ url: this.tunnelUrl }); await new Promise((resolve) => setTimeout(resolve, 1000)); - const signedMessage = await this.pluginService.auth.getSignedMessage(); + const signedMessage = await this.pluginService.auth.authenticateOrCreateKey(); if (!signedMessage) { throw new Error("Failed to authenticate or create a key."); }