From 1803e8e1fbb4f587b1bcccdd8bbcbe49945aae1a Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Thu, 22 Aug 2024 09:48:18 +0200 Subject: [PATCH] fix(SW-159): renamed route to get instead of getHotel and changed getHotelId to function declaration --- server/routers/hotels/query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routers/hotels/query.ts b/server/routers/hotels/query.ts index 5397fc66d..2b99bf9d3 100644 --- a/server/routers/hotels/query.ts +++ b/server/routers/hotels/query.ts @@ -38,7 +38,7 @@ const getHotelCounter = meter.createCounter("trpc.hotel.get") const getHotelSuccessCounter = meter.createCounter("trpc.hotel.get-success") const getHotelFailCounter = meter.createCounter("trpc.hotel.get-fail") -const getHotelId = async (locale: string, uid: string | null | undefined) => { +async function getHotelId(locale: string, uid: string | null | undefined) { const rawContentStackData = await request(GetHotelPage, { locale, uid,