增加额度查询

This commit is contained in:
2025-08-08 13:19:06 +08:00
parent 5016c1d9d6
commit 8f633d97d4
5 changed files with 309 additions and 233 deletions

View File

@@ -145,7 +145,7 @@ pub struct TokenPaginationResponse {
}
impl RelayStation {
fn from_row(row: &Row) -> Result<Self, rusqlite::Error> {
pub fn from_row(row: &Row) -> Result<Self, rusqlite::Error> {
let adapter_str: String = row.get("adapter")?;
let auth_method_str: String = row.get("auth_method")?;
let adapter_config_str: Option<String> = row.get("adapter_config")?;