feat(SW-176): set up route
This commit is contained in:
@@ -41,6 +41,14 @@ const getHotelCounter = meter.createCounter("trpc.hotel.get")
|
||||
const getHotelSuccessCounter = meter.createCounter("trpc.hotel.get-success")
|
||||
const getHotelFailCounter = meter.createCounter("trpc.hotel.get-fail")
|
||||
|
||||
const availabilityCounter = meter.createCounter("trpc.hotel.availability")
|
||||
const availabilitySuccessCounter = meter.createCounter(
|
||||
"trpc.hotel.availability-success"
|
||||
)
|
||||
const availabilityFailCounter = meter.createCounter(
|
||||
"trpc.hotel.availability-fail"
|
||||
)
|
||||
|
||||
async function getHotelId(locale: string, uid: string | null | undefined) {
|
||||
const rawContentStackData = await request<HotelPageDataRaw>(GetHotelPage, {
|
||||
locale,
|
||||
|
||||
Reference in New Issue
Block a user