fix: add frame
This commit is contained in:
@@ -171,7 +171,12 @@ func (h *Handler) Frames(w http.ResponseWriter, r *http.Request) {
|
||||
if p, _ := h.svc.GetProfile(r.Context(), id); p != nil {
|
||||
selected = p.SelectedFrame
|
||||
}
|
||||
httpx.JSON(w, http.StatusOK, map[string]any{"frames": frames, "selected": selected})
|
||||
tiers, _ := h.svc.RankTiers(r.Context())
|
||||
httpx.JSON(w, http.StatusOK, map[string]any{
|
||||
"frames": frames,
|
||||
"selected": selected,
|
||||
"rank_tiers": tiers,
|
||||
})
|
||||
}
|
||||
|
||||
// BuyFrame — POST /api/shop/buy-frame
|
||||
|
||||
Reference in New Issue
Block a user