pinakes-server: fix subtitle list response and registration
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I22c7237877862acbf931ce4c662bd2816a6a6964
This commit is contained in:
parent
76a48250e9
commit
b1ddb32ff0
5 changed files with 9 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue