diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-09-05 17:33:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-05 09:33:27 -0500 |
commit | ac0c4ef2d954a746d3696e6fb268c922a291e908 (patch) | |
tree | 69afde5d10dd552900bd69fd6538ad080dc77bcd /src/lib/constants.ts | |
parent | 917256713f7c811413ec9d305a56c65aae58fd6e (diff) | |
download | voidsky-ac0c4ef2d954a746d3696e6fb268c922a291e908.tar.zst |
ensure headers are set when chat reporting (#8985)
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r-- | src/lib/constants.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 616092f15..0ce6f88b8 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -1,5 +1,5 @@ import {type Insets, Platform} from 'react-native' -import {type AppBskyActorDefs} from '@atproto/api' +import {type AppBskyActorDefs, BSKY_LABELER_DID} from '@atproto/api' import {type ProxyHeaderValue} from '#/state/session/agent' import {BLUESKY_PROXY_DID, CHAT_PROXY_DID} from '#/env' @@ -228,6 +228,10 @@ export const DM_SERVICE_HEADERS = { 'atproto-proxy': `${CHAT_PROXY_DID}#bsky_chat`, } +export const BLUESKY_MOD_SERVICE_HEADERS = { + 'atproto-proxy': `${BSKY_LABELER_DID}#atproto_labeler`, +} + export const webLinks = { tos: `https://bsky.social/about/support/tos`, privacy: `https://bsky.social/about/support/privacy-policy`, |