chore: bump version to 2.3.0
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 51s

This commit is contained in:
2026-03-25 08:15:04 +01:00
parent 87f5d9b452
commit 5f7f96f25a
17 changed files with 916 additions and 16 deletions

View File

@@ -13,7 +13,7 @@ use crate::{error::ApiError, state::AppState};
const ANILIST_API: &str = "https://graphql.anilist.co";
async fn anilist_graphql(
pub(crate) async fn anilist_graphql(
token: &str,
query: &str,
variables: Value,
@@ -55,7 +55,7 @@ async fn anilist_graphql(
}
/// Load AniList settings from DB: (access_token, anilist_user_id, local_user_id)
async fn load_anilist_settings(pool: &sqlx::PgPool) -> Result<(String, Option<i64>, Option<Uuid>), ApiError> {
pub(crate) async fn load_anilist_settings(pool: &sqlx::PgPool) -> Result<(String, Option<i64>, Option<Uuid>), ApiError> {
let row = sqlx::query("SELECT value FROM app_settings WHERE key = 'anilist'")
.fetch_optional(pool)
.await?;