mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-19 12:34:22 +08:00
merge: resolve auth API endpoint conflicts
- 保留 token 刷新端点为 /api/oauth/refresh - 修正云空间用量端点为 /api/cloud/storage/usage(与前端一致) - 保留 Deep Link 回调 URL secscore://oauth
This commit is contained in:
@@ -719,7 +719,7 @@ pub async fn oauth_get_storage_usage(
|
||||
let client = &state_guard.http_client;
|
||||
|
||||
let response = client
|
||||
.get("https://appwrite.sectl.cn/api/cloud-storage/usage")
|
||||
.get("https://appwrite.sectl.cn/api/cloud/storage/usage")
|
||||
.query(&[("client_id", platform_id), ("user_id", user_id)])
|
||||
.header("Authorization", format!("Bearer {}", access_token))
|
||||
.send()
|
||||
|
||||
Reference in New Issue
Block a user