2
0

fix test cli oauth

This commit is contained in:
2026-03-01 21:27:37 +09:00
parent 6d3e233ee2
commit 32168f14d0
16 changed files with 1201 additions and 49 deletions

View File

@@ -119,7 +119,7 @@ pub async fn delete_record(collection: &str, rkey: &str, is_bot: bool) -> Result
auth::refresh_session().await?
};
let pds = session.pds.as_deref().unwrap_or("bsky.social");
let client = XrpcClient::new(pds);
let client = if is_bot { XrpcClient::new_bot(pds) } else { XrpcClient::new(pds) };
let req = DeleteRecordRequest {
repo: session.did.clone(),