this repo has no description

fix: in describe, fixup feeds output

+6 -2
+6 -2
cmd/feedweb/main.go
··· 51 51 } 52 52 53 53 func describeFeedGenerator(c echo.Context) error { 54 + type feed struct { 55 + URI syntax.ATURI `json:"uri"` 56 + } 57 + 54 58 type gen struct { 55 59 DID string `json:"did"` 56 - Feeds []syntax.ATURI `json:"feeds"` 60 + Feeds []feed `json:"feeds"` 57 61 } 58 62 59 63 out := gen{ ··· 65 69 if err != nil { 66 70 continue 67 71 } 68 - out.Feeds = append(out.Feeds, aturi) 72 + out.Feeds = append(out.Feeds, feed{URI: aturi}) 69 73 } 70 74 71 75 return c.JSON(http.StatusOK, out)