From ffdc12bdf849505ab0103e72c03b58f2dcccc078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Thu, 11 Jun 2026 20:39:30 +0400 Subject: [PATCH] =?UTF-8?q?fix:=20syntax=20error=20in=20/debug-session=20?= =?UTF-8?q?=E2=80=94=20missing=20closing=20brace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index 50a7284..96419d1 100644 --- a/server.js +++ b/server.js @@ -96,6 +96,7 @@ async function start() { tokenPreview: token ? token.slice(0, 50) + '...' : null, tokenPayload: token ? (() => { try { const p = JSON.parse(Buffer.from(token.split('.')[1], 'base64url').toString()); return { iss: p.iss, sub: p.sub, email: p.email, ClientID: p.ClientID, iat: p.iat }; } catch(e) { return 'decode error'; } })() : null, lastAudit, + }); }); // JWKS endpoint для валидации токенов внешними сервисами (только в mock-режиме)