From 39683fc19e2fba2d50f7bab86ce1c594c78054a1 Mon Sep 17 00:00:00 2001 From: Mohammed Mohsin <59914433+mdmohsin7@users.noreply.github.com> Date: Fri, 15 Nov 2024 12:53:15 +0530 Subject: [PATCH] fix type error mixpanel --- app/lib/pages/apps/add_app.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/pages/apps/add_app.dart b/app/lib/pages/apps/add_app.dart index 9f031da7a..54fa4bfe7 100644 --- a/app/lib/pages/apps/add_app.dart +++ b/app/lib/pages/apps/add_app.dart @@ -215,13 +215,13 @@ class _AddAppPageState extends State { MixpanelManager().publicAppSubmitted({ 'app_name': provider.appNameController.text, 'app_category': provider.appCategory, - 'app_capabilities': provider.capabilities, + 'app_capabilities': provider.capabilities.map((e) => e.id).toList(), }); } else { MixpanelManager().privateAppSubmitted({ 'app_name': provider.appNameController.text, 'app_category': provider.appCategory, - 'app_capabilities': provider.capabilities, + 'app_capabilities': provider.capabilities.map((e) => e.id).toList(), }); } SharedPreferencesUtil().showSubmitAppConfirmation = showSubmitAppConfirmation;