Skip to content

Commit

Permalink
revision id
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro committed Dec 5, 2024
1 parent b69f7a5 commit 24ee89f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ extension EventsRequest {
var locale: String
var isSandbox: Bool
var displayMode: CustomerCenterPresentationMode
var revisionId: Int
// We don't support revisions in the backend yet so hardcoding to 1 for now
let revisionId: Int = 1

init(id: String?,
version: Int,
Expand Down Expand Up @@ -94,8 +95,7 @@ extension EventsRequest {
darkMode: data.darkMode,
locale: data.localeIdentifier,
isSandbox: data.isSandbox,
displayMode: data.displayMode,
revisionId: 1
displayMode: data.displayMode
)
}

Expand Down

0 comments on commit 24ee89f

Please sign in to comment.