add oauth

This commit is contained in:
2026-01-18 14:26:43 +09:00
parent 1fd619e32b
commit f8670aa179
50 changed files with 5132 additions and 330 deletions

View File

@@ -32,6 +32,7 @@ struct PutRecordResponse {
struct ListRecordsResponse {
records: Vec<Record>,
#[serde(default)]
#[allow(dead_code)]
cursor: Option<String>,
}
@@ -234,7 +235,7 @@ struct DescribeRepoResponse {
/// Sync PDS data to local content directory
pub async fn sync_to_local(output: &str) -> Result<()> {
let config_content = fs::read_to_string("config.json")
let config_content = fs::read_to_string("public/config.json")
.context("config.json not found")?;
let config: Config = serde_json::from_str(&config_content)?;