Skip to content

Commit

Permalink
(BEDS-425) return proper response
Browse files Browse the repository at this point in the history
  • Loading branch information
LuccaBitfly committed Sep 10, 2024
1 parent 2171c7b commit c398c9a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/pkg/api/handlers/internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,10 @@ func (h *HandlerService) InternalGetMobileLatestBundle(w http.ResponseWriter, r
if force || (bundleVersion < stats.LatestBundleVersion && (stats.TargetCount == 0 || stats.DeliveryCount < stats.TargetCount)) {
data.BundleUrl = stats.BundleUrl
}
returnOk(w, r, data)
response := types.GetMobileLatestBundleResponse{
Data: data,
}
returnOk(w, r, response)
}

func (h *HandlerService) InternalPostMobileBundleDeliveries(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit c398c9a

Please sign in to comment.