tiny 88x31 lexicon for atproto
0
fork

Configure Feed

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

commas,,

+2 -4
+2 -2
db/lexicon.go
··· 17 17 b.alt, 18 18 b.title, 19 19 b.href, 20 - b.posted_at 20 + b.posted_at, 21 21 CASE 22 22 WHEN EXISTS ( 23 23 SELECT l.uri ··· 114 114 b.alt, 115 115 b.title, 116 116 b.href, 117 - b.cid 117 + b.cid, 118 118 CASE 119 119 WHEN EXISTS ( 120 120 SELECT 1
-2
handler/handler.go
··· 1 1 package handler 2 2 3 3 import ( 4 - "fmt" 5 4 "github.com/bluesky-social/indigo/atproto/auth/oauth" 6 5 "github.com/gorilla/sessions" 7 6 "html/template" ··· 123 122 return 124 123 } 125 124 uri := r.URL.Query().Get("uri") 126 - fmt.Println(uri) 127 125 btn, err := h.db.GetButton(uri, r.Context()) 128 126 if err != nil || btn == nil { 129 127 http.Error(w, "not found", http.StatusNotFound)