support plan
This commit is contained in:
@@ -69,7 +69,7 @@ const CreatePlan: FC = () => {
|
||||
return {
|
||||
featureKey: feature.featureKey,
|
||||
featureValue: feature.featureValue as string,
|
||||
featureType: 'string',
|
||||
featureType: 'text',
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -99,7 +99,7 @@ const CreatePlan: FC = () => {
|
||||
features: preparedFeatures.map(feature => ({
|
||||
featureKey: feature.featureKey,
|
||||
featureValue: String(feature.featureValue),
|
||||
featureType: feature.featureType as "string" | "boolean"
|
||||
featureType: feature.featureType as "text" | "boolean"
|
||||
}))
|
||||
}
|
||||
createSupport.mutate(planData, {
|
||||
|
||||
Reference in New Issue
Block a user