pinakes-server: fix subtitle list response and registration

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I22c7237877862acbf931ce4c662bd2816a6a6964
This commit is contained in:
raf 2026-03-21 13:33:29 +03:00
commit b1ddb32ff0
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
5 changed files with 9 additions and 7 deletions

View file

@ -56,7 +56,7 @@ pub fn create_router_with_tls(
let swagger_ui_enabled = state
.config
.try_read()
.map_or(false, |cfg| cfg.server.swagger_ui);
.is_ok_and(|cfg| cfg.server.swagger_ui);
let global_governor = build_governor(
rate_limits.global_per_second,