mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-09 10:57:03 +08:00
feat(grok): add admin oauth and quota support
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ pub(super) async fn admin_provider_ops_sub2api_balance_payload(
|
||||
"query_balance",
|
||||
message,
|
||||
None,
|
||||
)
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ pub(super) async fn handle_admin_provider_ops_action(
|
||||
Err(_) => {
|
||||
return Ok(Some(bad_request_detail_response(
|
||||
"请求体必须是合法的 JSON 对象",
|
||||
)))
|
||||
)));
|
||||
}
|
||||
};
|
||||
let payload =
|
||||
@@ -67,7 +67,7 @@ pub(super) async fn handle_admin_provider_ops_action(
|
||||
Err(_) => {
|
||||
return Ok(Some(bad_request_detail_response(
|
||||
"请求体必须是合法的 JSON 对象",
|
||||
)))
|
||||
)));
|
||||
}
|
||||
};
|
||||
payload.config
|
||||
|
||||
Reference in New Issue
Block a user