+4
src/actor_endpoints.rs
+4
src/actor_endpoints.rs
···
1
+
/// HACK: store private user preferences in the PDS.
2
+
///
3
+
/// We shouldn't have to know about any bsky endpoints to store private user data.
4
+
/// This will _very likely_ be changed in the future.
1
5
use atrium_api::app::bsky::actor;
2
6
use axum::{Json, routing::post};
3
7
use constcat::concat;
+1
-6
src/main.rs
+1
-6
src/main.rs
···
1
1
//! PDS implementation.
2
2
mod account_manager;
3
+
mod actor_endpoints;
3
4
mod actor_store;
4
5
mod auth;
5
6
mod config;
···
16
17
mod service_proxy;
17
18
#[cfg(test)]
18
19
mod tests;
19
-
20
-
/// HACK: store private user preferences in the PDS.
21
-
///
22
-
/// We shouldn't have to know about any bsky endpoints to store private user data.
23
-
/// This will _very likely_ be changed in the future.
24
-
mod actor_endpoints;
25
20
26
21
use anyhow::{Context as _, anyhow};
27
22
use atrium_api::types::string::Did;