[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>
Этот коммит содержится в:
@@ -11618,10 +11618,10 @@ func (s *TimerLayerUserTermsOfServiceStore) Save(userTermsOfService *model.UserT
|
||||
return result, err
|
||||
}
|
||||
|
||||
func (s *TimerLayerWebhookStore) AnalyticsIncomingCount(teamID string) (int64, error) {
|
||||
func (s *TimerLayerWebhookStore) AnalyticsIncomingCount(teamID string, userID string) (int64, error) {
|
||||
start := time.Now()
|
||||
|
||||
result, err := s.WebhookStore.AnalyticsIncomingCount(teamID)
|
||||
result, err := s.WebhookStore.AnalyticsIncomingCount(teamID, userID)
|
||||
|
||||
elapsed := float64(time.Since(start)) / float64(time.Second)
|
||||
if s.Root.Metrics != nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user