Files
pargar/backend/internal/api/community.go
T

14 lines
264 B
Go
Raw Normal View History

package api
import (
"net/http"
)
func (s *Server) handleCommunity(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
writeJSON(w, http.StatusOK, map[string]any{
"socials": s.loadSocials(ctx),
"contributors": s.loadContributors(ctx),
})
}