diff --git a/web/api/sector/sector.go b/web/api/sector/sector.go index 925ba524e..0c3f431a9 100644 --- a/web/api/sector/sector.go +++ b/web/api/sector/sector.go @@ -165,11 +165,11 @@ func (c *cfg) getSectors(w http.ResponseWriter, r *http.Request) { var mpieces []piece apihelper.OrHTTPFail(w, c.DB.Select(r.Context(), &mpieces, `SELECT sp_id, - sector_num, + sector_num as sector_number, piece_size, COALESCE(f05_deal_id, 0) AS f05_deal_id, f05_deal_proposal, - ddo_pam + ddo_pam as direct_piece_activation_manifest FROM sectors_meta_pieces ORDER BY sp_id, sector_num`)) pieces = append(pieces, mpieces...)