fix(SW-159): renamed route to get instead of getHotel and changed getHotelId to function declaration
This commit is contained in:
@@ -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<HotelPageDataRaw>(GetHotelPage, {
|
||||
locale,
|
||||
uid,
|
||||
|
||||
Reference in New Issue
Block a user