feat: moderation API for pulling reported images. (#880)

Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com>
Release-As: 0.15.1
This commit is contained in:
Tom
2026-08-07 11:42:52 -07:00
committed by IAmTomahawkx
parent 4feeeb11f3
commit fe331f0dcb
3 changed files with 69 additions and 1 deletions

View File

@@ -70,6 +70,8 @@ trust_cloudflare = false
easypwned = ""
# Tenor API Key
tenor_key = ""
# Admin keys for future admin api and for bonfire reported image fetching
admin_keys = []
[api.security.captcha]
# hCaptcha configuration

View File

@@ -228,6 +228,7 @@ pub struct ApiSecurity {
pub trust_cloudflare: bool,
pub easypwned: String,
pub tenor_key: String,
pub admin_keys: Vec<String>,
}
#[derive(Deserialize, Debug, Clone)]