[GH-26715] Added Pagination Support for IncomingWebHooks (#27502)
* Added Pagination Support for IncomingWebHooks * Incorporated feedback from reviews * Removed trailing spaces * Restored deleted server en.json entries, fixed order in webapp en.json --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
@@ -351,7 +351,7 @@ func (ts *TelemetryService) trackActivity() {
|
||||
|
||||
slashCommandsCount, _ = ts.dbStore.Command().AnalyticsCommandCount("")
|
||||
|
||||
if c, err := ts.dbStore.Webhook().AnalyticsIncomingCount(""); err == nil {
|
||||
if c, err := ts.dbStore.Webhook().AnalyticsIncomingCount("", ""); err == nil {
|
||||
incomingWebhooksCount = c
|
||||
}
|
||||
|
||||
|
||||
@@ -231,7 +231,7 @@ func initializeMocks(cfg *model.Config, cloudLicense bool) (*mocks.ServerIface,
|
||||
commandStore.On("AnalyticsCommandCount", "").Return(int64(15), nil)
|
||||
|
||||
webhookStore := storeMocks.WebhookStore{}
|
||||
webhookStore.On("AnalyticsIncomingCount", "").Return(int64(16), nil)
|
||||
webhookStore.On("AnalyticsIncomingCount", "", "").Return(int64(16), nil)
|
||||
webhookStore.On("AnalyticsOutgoingCount", "").Return(int64(17), nil)
|
||||
|
||||
groupStore := storeMocks.GroupStore{}
|
||||
|
||||
Ссылка в новой задаче
Block a user