Add server ID to Intercom JWT payload (#5769)
This commit is contained in:
@@ -1335,7 +1335,9 @@ async function initializeIntercom() {
|
||||
if (!auth.value?.user) return
|
||||
|
||||
try {
|
||||
const intercomData = await $fetch<{ token: string }>('/api/intercom/messenger-jwt')
|
||||
const intercomData = await $fetch<{ token: string }>('/api/intercom/messenger-jwt', {
|
||||
query: { server_id: serverId },
|
||||
})
|
||||
|
||||
Intercom({
|
||||
app_id: config.public.intercomAppId,
|
||||
|
||||
Reference in New Issue
Block a user