sub-task: SW-685 Optimized params
This commit is contained in:
@@ -26,7 +26,7 @@ export const bookingwidgetQueryRouter = router({
|
||||
const failedResponse = { hideBookingWidget: false }
|
||||
const { contentType, uid, lang } = ctx
|
||||
|
||||
// This condition is to handle 404 page case
|
||||
// This condition is to handle 404 page case and booking flow
|
||||
if (!contentType || !uid) {
|
||||
console.log("No proper params defined: ", contentType, uid)
|
||||
return failedResponse
|
||||
|
||||
Reference in New Issue
Block a user