Skip to content

Commit

Permalink
Adds missing revisionId to CustomerCenter impression event (#4537)
Browse files Browse the repository at this point in the history
* sends revisionId

* update snapshot
  • Loading branch information
vegaro authored Dec 4, 2024
1 parent b27785d commit 9854159
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ extension EventsRequest {
var locale: String
var isSandbox: Bool
var displayMode: CustomerCenterPresentationMode
var revisionId: Int

}

Expand Down Expand Up @@ -68,7 +69,8 @@ extension EventsRequest.CustomerCenterEvent {
darkMode: data.darkMode,
locale: data.localeIdentifier,
isSandbox: data.isSandbox,
displayMode: data.displayMode
displayMode: data.displayMode,
revisionId: 1
)
} catch {
return nil
Expand Down Expand Up @@ -108,6 +110,7 @@ extension EventsRequest.CustomerCenterEvent: Encodable {
case locale
case isSandbox = "isSandbox"
case displayMode = "displayMode"
case revisionId = "revisionId"

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"id" : "72164C05-2BDC-4807-8918-A4105F727DEB",
"is_sandbox" : true,
"locale" : "en_US",
"revision_id" : 1,
"timestamp" : 1694029328000,
"type" : "customer_center_impression",
"version" : 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"id" : "72164C05-2BDC-4807-8918-A4105F727DEB",
"is_sandbox" : true,
"locale" : "es_ES",
"revision_id" : 1,
"timestamp" : 1694029328000,
"type" : "customer_center_impression",
"version" : 1
Expand Down

0 comments on commit 9854159

Please sign in to comment.