diff options
Diffstat (limited to 'internal/db/models.go')
-rw-r--r-- | internal/db/models.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/models.go b/internal/db/models.go index f80cad92..3c2b6280 100644 --- a/internal/db/models.go +++ b/internal/db/models.go @@ -227,7 +227,7 @@ func GetStatistic() (stats Statistic) { stats.Counter.HookTask, _ = x.Count(new(HookTask)) stats.Counter.Team, _ = x.Count(new(Team)) stats.Counter.Attachment, _ = x.Count(new(Attachment)) - return + return stats } func Ping() error { |