mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-05 09:12:27 +08:00
将 get_current_user 和 get_current_user_from_header 函数声明为 async, 并更新 AuthService.verify_token 的调用为 await,以正确处理异步 Token 验证。
将 get_current_user 和 get_current_user_from_header 函数声明为 async, 并更新 AuthService.verify_token 的调用为 await,以正确处理异步 Token 验证。