feat(SW-2116): RefId instead of confirmationNumber
This commit is contained in:
committed by
Michael Zetterberg
parent
7eeb0bbcac
commit
74d37dad93
@@ -18,10 +18,10 @@ import {
|
||||
import styles from "./findMyBooking.module.css"
|
||||
|
||||
export default function AdditionalInfoForm({
|
||||
confirmationNumber,
|
||||
refId,
|
||||
lastName,
|
||||
}: {
|
||||
confirmationNumber: string
|
||||
refId: string
|
||||
lastName: string
|
||||
}) {
|
||||
const router = useRouter()
|
||||
@@ -37,7 +37,7 @@ export default function AdditionalInfoForm({
|
||||
const values = form.getValues()
|
||||
const value = new URLSearchParams({
|
||||
...values,
|
||||
confirmationNumber,
|
||||
RefId: refId,
|
||||
lastName,
|
||||
}).toString()
|
||||
document.cookie = `bv=${encodeURIComponent(value)}; Path=/; Max-Age=600; Secure; SameSite=Strict`
|
||||
|
||||
Reference in New Issue
Block a user