Skip to content

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

Fix support form not passing site url and additioanl redirect urls

Joshen Lim925de12a1a35
diff --git a/studio/data/feedback/support-ticket-send.ts b/studio/data/feedback/support-ticket-send.ts
index ce9118afded..334a5faeba8 100644
--- a/studio/data/feedback/support-ticket-send.ts
+++ b/studio/data/feedback/support-ticket-send.ts
@@ -15,6 +15,8 @@ export type sendSupportTicketVariables = {
affectedServices?: string
browserInformation?: string
allowSupportAccess: boolean
+ siteUrl?: string
+ additionalRedirectUrls?: string
}
export async function sendSupportTicket({
@@ -28,6 +30,8 @@ export async function sendSupportTicket({
affectedServices,
browserInformation,
allowSupportAccess,
+ siteUrl,
+ additionalRedirectUrls,
}: sendSupportTicketVariables) {
const { data, error } = await post('/platform/feedback/send', {
body: {
@@ -40,8 +44,8 @@ export async function sendSupportTicket({
library,
verified: true,
tags: ['dashboard-support-form'],
- siteUrl: '',
- additionalRedirectUrls: '',
+ siteUrl,
+ additionalRedirectUrls,
affectedServices,
browserInformation,
allowSupportAccess,