Move seats data extraction closer to subscription definition.
Этот коммит содержится в:
@@ -324,6 +324,11 @@ func requestTrueUpReview(c *Context, w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
seats := 0
|
||||||
|
if subscription != nil {
|
||||||
|
seats = subscription.Seats
|
||||||
|
}
|
||||||
|
|
||||||
// Customer Info & Usage Analytics
|
// Customer Info & Usage Analytics
|
||||||
activeUserCount, err := c.App.Srv().Store().Status().GetTotalActiveUsersCount()
|
activeUserCount, err := c.App.Srv().Store().Status().GetTotalActiveUsersCount()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -383,10 +388,6 @@ func requestTrueUpReview(c *Context, w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
seats := 0
|
|
||||||
if subscription != nil {
|
|
||||||
seats = subscription.Seats
|
|
||||||
}
|
|
||||||
reviewProfile := model.TrueUpReviewProfile{
|
reviewProfile := model.TrueUpReviewProfile{
|
||||||
ServerId: c.App.TelemetryId(),
|
ServerId: c.App.TelemetryId(),
|
||||||
ServerVersion: model.CurrentVersion,
|
ServerVersion: model.CurrentVersion,
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user