From dd27d3567172b5c8b1e0bdd989126afa8f290541 Mon Sep 17 00:00:00 2001 From: Shahroz Khan Date: Fri, 19 Nov 2021 01:26:25 +0500 Subject: [PATCH] fix: pro-guarding removal of enums (#39) --- sdk/src/main/java/io/customer/sdk/data/request/Metric.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/src/main/java/io/customer/sdk/data/request/Metric.kt b/sdk/src/main/java/io/customer/sdk/data/request/Metric.kt index 004799374..ae60f1184 100644 --- a/sdk/src/main/java/io/customer/sdk/data/request/Metric.kt +++ b/sdk/src/main/java/io/customer/sdk/data/request/Metric.kt @@ -3,6 +3,7 @@ package io.customer.sdk.data.request import com.squareup.moshi.Json import com.squareup.moshi.JsonClass +@JsonClass(generateAdapter = false) enum class MetricEvent { delivered, opened, converted; }