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