/* This file is part of jellything (https://codeberg.org/metamuffin/jellything) which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2025 metamuffin */ pub mod log; pub mod user; use crate::session::AdminSession; use anyhow::Result; use jellydb::Database; use jellyimport::IMPORT_ERRORS; pub async fn get_import_errors(_session: &AdminSession) -> Vec { IMPORT_ERRORS.read().await.to_owned() } pub fn list_invites(_session: &AdminSession, database: &Database) -> Result> { database.list_invites() }