Skip to content

Commit

Permalink
Merge pull request #124 from ubc-biztech/dev
Browse files Browse the repository at this point in the history
Merge dev to main
  • Loading branch information
voctory authored Jan 25, 2025
2 parents 340b091 + e6808e7 commit cba527f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/companion/scan/[qrId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ const Index = () => {
eventParam
};
switch (type) {
case "NFC_PARTNER":
Object.assign(body, { eventType: CONNECTION_EVENT });
redirect = `/companion/profile/${eventParam}`;
break;
case "NFC_ATTENDEE":
Object.assign(body, { eventType: CONNECTION_EVENT });
redirect = `/companion/profile/${eventParam}`;
Expand Down

0 comments on commit cba527f

Please sign in to comment.