Skip to content

Commit

Permalink
fix: browser name changes - temp (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
PritishBudhiraja authored Jun 28, 2024
1 parent f046362 commit 3f36342
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Utilities/Utils.res
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,8 @@ let getHeaders = (~uri=?, ~token=?, ~headers=Dict.make(), ()) => {
("X-Payment-Confirm-Source", "sdk"),
("X-Browser-Name", OrcaLogger.arrayOfNameAndVersion->Array.get(0)->Option.getOr("Others")),
("X-Browser-Version", OrcaLogger.arrayOfNameAndVersion->Array.get(1)->Option.getOr("0")),
("browsername", OrcaLogger.arrayOfNameAndVersion->Array.get(0)->Option.getOr("Others")),
("browserversion", OrcaLogger.arrayOfNameAndVersion->Array.get(1)->Option.getOr("0")),
("X-Client-Platform", "web"),
]->Dict.fromArray

Expand Down

0 comments on commit 3f36342

Please sign in to comment.