backend for xcvr appview
3
fork

Configure Feed

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

encode keys correctly

+2 -1
+2 -1
server/internal/handler/oauthHandlers.go
··· 27 27 if err != nil { 28 28 h.serverError(w, err) 29 29 } 30 + rro := map[string]any{"keys": []any{ro}} 30 31 w.Header().Set("Content-Type", "application/json") 31 32 encoder := json.NewEncoder(w) 32 - encoder.Encode(ro) 33 + encoder.Encode(rro) 33 34 } 34 35 35 36 func (h *Handler) oauthLogin(w http.ResponseWriter, r *http.Request) {