Skip to content

Commit

Permalink
fix coding keys
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro committed Jun 27, 2024
1 parent da33133 commit 7e2bb76
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Sources/Networking/Responses/CustomerCenterConfigResponse.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct CustomerCenterConfigResponse {

enum PathType: String {

case missingPurchase = "MISSING_ENTITLEMENT"
case missingPurchase = "MISSING_PURCHASE"
case refundRequest = "REFUND_REQUEST"
case changePlans = "CHANGE_PLANS"
case cancel = "CANCEL"
Expand All @@ -53,10 +53,6 @@ struct CustomerCenterConfigResponse {

let firstSeen: String

enum CodingKeys: String, CodingKey {
case firstSeen = "first_seen"
}

}

}
Expand Down Expand Up @@ -84,7 +80,7 @@ struct CustomerCenterConfigResponse {
let light: AppearanceMode
let dark: AppearanceMode

struct AppearanceMode {
struct AppearanceMode {

let accentColor: String

Expand All @@ -104,7 +100,7 @@ struct CustomerCenterConfigResponse {
{
"id": "ownmsldfow",
"title": "Didn't receive purchase",
"type": "MISSING_ENTITLEMENT"
"type": "MISSING_PURCHASE"
},
{
"id": "nwodkdnfaoeb",
Expand Down

0 comments on commit 7e2bb76

Please sign in to comment.