Corey Lanier
11/03/2020, 1:35 PMmarketingType
as String
, I get a type error where the API request expects a type of MarketingType
on the marketingType
key in the request. However, by changing marketingType
to MarketingType
(Which is just an enum that returns possible strings) in FeaturedState
data class, when I attempt to change the type in changeMarketing
function, I get type issues as well. Not sure where to change what.
FeaturedState and `changeMarketing()`: https://hatebin.com/vcuswntlkf
API Request and callback: https://hatebin.com/arrrcsnisn
Custom enum type for marketing: https://hatebin.com/wzjoafflfd