MM-43084 update product limits through webhook and websocket (#20076)
* Define interfaces for updating subscriptions and product limits from CWS webhook.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c7fe5e9aab
Коммит
6f87eb67fc
@@ -1225,3 +1225,10 @@ func (api *apiTimerLayer) RequestTrialLicense(requesterID string, users int, ter
|
||||
api.recordTime(startTime, "RequestTrialLicense", _returnsA == nil)
|
||||
return _returnsA
|
||||
}
|
||||
|
||||
func (api *apiTimerLayer) GetCloudLimits() (*model.ProductLimits, error) {
|
||||
startTime := timePkg.Now()
|
||||
_returnsA, _returnsB := api.apiImpl.GetCloudLimits()
|
||||
api.recordTime(startTime, "GetCloudLimits", _returnsB == nil)
|
||||
return _returnsA, _returnsB
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user