Skip to content

Commit

Permalink
Merge pull request #3003 from beckn/hotfix-cityoflight-mobility-flow
Browse files Browse the repository at this point in the history
fix: fixed city of light flow for mobility app
  • Loading branch information
aniketceminds authored Jan 21, 2025
2 parents 044bfd5 + 33071bb commit e877432
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -752,4 +752,3 @@ function AddInformationMetadata() {
}

export default AddInformationMetadata

10 changes: 4 additions & 6 deletions apps/tourismV1.1/pages/orderConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,10 @@ const OrderConfirmation = () => {
.then(res => {
const qrUrl = res?.data?.qr_url
dispatch(orderObjectUrlActions.addOrderObjectUrl(qrUrl))
const tags = confirmResponse[0].message.items[0].tags
const tags1 = tags?.[0].list
console.log(tags1)
const parisTag = tags1?.find(tag => tag.name === 'Paris')
console.log(parisTag)
const isCityOfParisItem = parisTag?.name === 'Paris'
const tags = confirmResponse[0].message.provider.id
console.log(tags)
const parisTag = tags === 'touring-paris'
const isCityOfParisItem = parisTag
console.log(isCityOfParisItem)
if (isCityOfParisItem) {
dispatch(orderObjectUrlActions.setisFlowCityOfParis(true))
Expand Down

0 comments on commit e877432

Please sign in to comment.