Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
chausov committed May 5, 2021
2 parents 9281d32 + 5480f9e commit e9a17a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class YouboraConfigTemplate {
"parse": parse,
"app": app,
"extraParams": extraParameters,
"customDimensions": customDimensions,
"contentCustomDimensions": customDimensions,
"ads": ads,
"media": media,
"content": content,
Expand Down
6 changes: 3 additions & 3 deletions Sources/YouboraConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct YouboraConfig: Decodable {
let ads: Ads?
let properties: Properties?

let customDimensions: CustomDimensions?
let contentCustomDimensions: ContentCustomDimensions?
let extraParams: ExtraParams?
let houseHoldId: String?
let isAutoStart: Bool?
Expand Down Expand Up @@ -214,7 +214,7 @@ struct YouboraConfig: Decodable {
options.contentCustomDimension10 = extraParams.param10
}

if let customDimensions = customDimensions {
if let customDimensions = contentCustomDimensions {
options.contentCustomDimension1 = customDimensions.contentCustomDimension1
options.contentCustomDimension2 = customDimensions.contentCustomDimension2
options.contentCustomDimension3 = customDimensions.contentCustomDimension3
Expand Down Expand Up @@ -386,7 +386,7 @@ struct AdCustomDimensions: Decodable {
let adCustomDimension10: String?
}

struct CustomDimensions: Decodable {
struct ContentCustomDimensions: Decodable {
let contentCustomDimension1: String?
let contentCustomDimension2: String?
let contentCustomDimension3: String?
Expand Down

0 comments on commit e9a17a6

Please sign in to comment.