feat: add admin panel
This commit is contained in:
@@ -51,7 +51,7 @@ func (h *Handler) Shop(w http.ResponseWriter, r *http.Request) {
|
||||
selected = p.SelectedCard
|
||||
}
|
||||
httpx.JSON(w, http.StatusOK, map[string]any{
|
||||
"catalog": FullCatalog(),
|
||||
"catalog": h.svc.Catalog(),
|
||||
"owned_cards": owned,
|
||||
"selected_card": selected,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user