V smol log cleanups (#10731)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import {BskyAgent} from '@atproto/api'
|
||||
|
||||
import {logger} from '#/logger'
|
||||
import {device} from '#/storage'
|
||||
|
||||
export const BR_LABELER = 'did:plc:ekitcvx7uwnauoqy5oest3hm' // Brazil
|
||||
@@ -77,8 +76,6 @@ export function configureAdditionalModerationAuthorities() {
|
||||
if (geolocation?.countryCode) {
|
||||
// overwrite with only those necessary
|
||||
additionalLabelers = MODERATION_AUTHORITIES[geolocation.countryCode] ?? []
|
||||
} else {
|
||||
logger.info(`no geolocation, cannot apply mod authorities`)
|
||||
}
|
||||
|
||||
if (__DEV__) {
|
||||
@@ -89,10 +86,5 @@ export function configureAdditionalModerationAuthorities() {
|
||||
new Set([...BskyAgent.appLabelers, ...additionalLabelers]),
|
||||
)
|
||||
|
||||
logger.info(`applying mod authorities`, {
|
||||
additionalLabelers,
|
||||
appLabelers,
|
||||
})
|
||||
|
||||
BskyAgent.configure({appLabelers})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user