mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-08-30 23:07:27 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user