A social RSS reader built on the AT Protocol. glean.at
glean atproto atmosphere rss feed social app
14
fork

Configure Feed

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

Return HTTP 502 on PDS deletion failure

+4
+2
internal/server/annotations_handler.go
··· 161 161 if ok { 162 162 if delErr := client.DeleteRecord(ctx, user.DID, parsed.Collection, parsed.RKey); delErr != nil { 163 163 s.logger.Error("failed to delete annotation from PDS", "error", delErr) 164 + http.Error(w, "failed to delete annotation from PDS: "+delErr.Error(), http.StatusBadGateway) 165 + return 164 166 } 165 167 } 166 168 }
+2
internal/server/feeds_handler.go
··· 251 251 if ok { 252 252 if delErr := client.DeleteRecord(r.Context(), user.DID, parsed.Collection, parsed.RKey); delErr != nil { 253 253 s.logger.Error("failed to delete subscription from PDS", "error", delErr, "uri", sub.URI.String) 254 + http.Error(w, "failed to delete subscription from PDS: "+delErr.Error(), http.StatusBadGateway) 255 + return 254 256 } 255 257 } 256 258 }