support plan

This commit is contained in:
hamid zarghami
2025-05-05 15:19:44 +03:30
parent 26f8cd85a8
commit 00d46d26b9
10 changed files with 357 additions and 6 deletions
+2 -2
View File
@@ -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, {