A lexicon-driven AppView for ATProto. happyview.dev
backfill firehose jetstream atproto appview oauth lexicon
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: remove unused did field from AdminAuth

Trezy 683cb503 be9c6ef5

+2 -11
+2 -11
src/admin/auth.rs
··· 9 9 /// (same as `Claims`), then checks if the returned DID exists in the `admins` 10 10 /// table. If no admins exist yet, the first authenticated user is 11 11 /// auto-bootstrapped as the initial admin. 12 - pub struct AdminAuth { 13 - did: String, 14 - } 15 - 16 - impl AdminAuth { 17 - /// The authenticated admin's DID. 18 - pub fn did(&self) -> &str { 19 - &self.did 20 - } 21 - } 12 + pub struct AdminAuth; 22 13 23 14 impl FromRequestParts<AppState> for AdminAuth { 24 15 type Rejection = AppError; ··· 68 59 .await; 69 60 }); 70 61 71 - Ok(AdminAuth { did }) 62 + Ok(AdminAuth) 72 63 } 73 64 }