File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { get, writable } from 'svelte/store';
55import { Submit , trackEvent } from '$lib/actions/analytics' ;
66import FeedbackNps from '$lib/components/feedback/feedbackNPS.svelte' ;
77import FeedbackGeneral from '$lib/components/feedback/feedbackGeneral.svelte' ;
8- import { resolvedProfile , ProfileMode , type Profile } from '$lib/profiles/index.svelte' ;
8+ import { resolvedProfile , type Profile } from '$lib/profiles/index.svelte' ;
99
1010export type Feedback = {
1111 elapsed : number ;
@@ -135,7 +135,7 @@ function createFeedbackStore() {
135135 customFields . push ( { id : '56109' , value : billingPlan } ) ;
136136 }
137137
138- const platform = resolvedProfile . id === ProfileMode . STUDIO ? 'imagine' : 'appwrite' ;
138+ const platform = resolvedProfile . organizationPlatform . toLowerCase ( ) ;
139139
140140 const response = await fetch ( `${ VARS . GROWTH_ENDPOINT } /feedback` , {
141141 method : 'POST' ,
You can’t perform that action at this time.
0 commit comments