From a7b59c4881f1f0b6591fcb97211d36cebe20fbb9 Mon Sep 17 00:00:00 2001 From: HotelSync Date: Thu, 2 Apr 2026 11:38:07 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20TTLock=20=E2=80=94=20revert=20to=202-fie?= =?UTF-8?q?ld=20credentials,=20improve=20UI=20hints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- backend/src/routes/ttlock.ts | 10 +++++----- src/pages/TTLockPage.tsx | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/backend/src/routes/ttlock.ts b/backend/src/routes/ttlock.ts index 8cf7505..a9f2e92 100644 --- a/backend/src/routes/ttlock.ts +++ b/backend/src/routes/ttlock.ts @@ -65,11 +65,11 @@ const ttlockRoutes: FastifyPluginAsync = async (fastify) => { // ── PATCH /api/hotels/:slug/ttlock/config ─────────────────────────────────── fastify.patch('/api/hotels/:slug/ttlock/config', { onRequest: [fastify.authenticate] }, async (req, reply) => { const { slug } = req.params diff --git a/src/pages/TTLockPage.tsx b/src/pages/TTLockPage.tsx index c4f503f..12828a2 100644 --- a/src/pages/TTLockPage.tsx +++ b/src/pages/TTLockPage.tsx @@ -391,21 +391,21 @@ export function TTLockPage() {
- + setClientId(e.target.value)} - placeholder="Из TTHotel → Настройки → Интеграции" + placeholder="0004e6c0cdb64324..." className="input w-full font-mono text-sm" />
- +