Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Use provided exitAction param for exit survey mutation

Joshen Lim0434db9d5800
diff --git a/studio/data/feedback/exit-survey-send.ts b/studio/data/feedback/exit-survey-send.ts
index f145695e406..d95a8422356 100644
--- a/studio/data/feedback/exit-survey-send.ts
+++ b/studio/data/feedback/exit-survey-send.ts
@@ -18,13 +18,14 @@ export async function sendDowngradeFeedback({
orgSlug,
reasons,
message,
+ exitAction,
}: SendDowngradeFeedbackVariables) {
const response = await post(`${API_URL}/feedback/downgrade`, {
...(projectRef !== undefined && { projectRef }),
...(orgSlug !== undefined && { orgSlug }),
reasons,
additionalFeedback: message,
- exitAction: 'downgrade',
+ exitAction,
})
if (response.error) throw response.error
return response