mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 18:37:46 +08:00
feat(pool): 支持批量导入 Key 和选择性更新设置
This commit is contained in:
@@ -55,13 +55,6 @@ pub(super) async fn build_admin_pool_batch_import_response(
|
||||
}
|
||||
};
|
||||
|
||||
if payload.keys.len() > 500 {
|
||||
return Ok(build_admin_pool_error_response(
|
||||
http::StatusCode::BAD_REQUEST,
|
||||
"keys length must be less than or equal to 500",
|
||||
));
|
||||
}
|
||||
|
||||
state
|
||||
.build_admin_pool_batch_import_response(&provider_id, payload)
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user