feat(SW-2116): Use refId instead of confirmationNumber
This commit is contained in:
@@ -44,7 +44,7 @@ export default function FindMyBooking() {
|
||||
const values = form.getValues()
|
||||
const value = new URLSearchParams(values).toString()
|
||||
document.cookie = `bv=${encodeURIComponent(value)}; Path=/; Max-Age=600; Secure; SameSite=Strict`
|
||||
router.push(`${myStay[lang]}?RefId=${result.refId}`)
|
||||
router.push(`${myStay[lang]}?RefId=${encodeURIComponent(result.refId)}`)
|
||||
},
|
||||
onError: (error) => {
|
||||
console.error("Failed to create ref id", error)
|
||||
|
||||
Reference in New Issue
Block a user