about summary refs log tree commit diff
path: root/src/components/ageAssurance
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-09-05 17:33:27 +0300
committerGitHub <noreply@github.com>2025-09-05 09:33:27 -0500
commitac0c4ef2d954a746d3696e6fb268c922a291e908 (patch)
tree69afde5d10dd552900bd69fd6538ad080dc77bcd /src/components/ageAssurance
parent917256713f7c811413ec9d305a56c65aae58fd6e (diff)
downloadvoidsky-ac0c4ef2d954a746d3696e6fb268c922a291e908.tar.zst
ensure headers are set when chat reporting (#8985)
Diffstat (limited to 'src/components/ageAssurance')
-rw-r--r--src/components/ageAssurance/AgeAssuranceAppealDialog.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/ageAssurance/AgeAssuranceAppealDialog.tsx b/src/components/ageAssurance/AgeAssuranceAppealDialog.tsx
index cc0d568ca..b9dcff706 100644
--- a/src/components/ageAssurance/AgeAssuranceAppealDialog.tsx
+++ b/src/components/ageAssurance/AgeAssuranceAppealDialog.tsx
@@ -1,10 +1,11 @@
 import React from 'react'
 import {View} from 'react-native'
-import {BSKY_LABELER_DID, ComAtprotoModerationDefs} from '@atproto/api'
+import {ComAtprotoModerationDefs} from '@atproto/api'
 import {msg, Trans} from '@lingui/macro'
 import {useLingui} from '@lingui/react'
 import {useMutation} from '@tanstack/react-query'
 
+import {BLUESKY_MOD_SERVICE_HEADERS} from '#/lib/constants'
 import {logger} from '#/state/ageAssurance/util'
 import {useAgent, useSession} from '#/state/session'
 import * as Toast from '#/view/com/util/Toast'
@@ -58,9 +59,7 @@ function Inner({control}: {control: Dialog.DialogControlProps}) {
         },
         {
           encoding: 'application/json',
-          headers: {
-            'atproto-proxy': `${BSKY_LABELER_DID}#atproto_labeler`,
-          },
+          headers: BLUESKY_MOD_SERVICE_HEADERS,
         },
       )
     },