diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2021-05-19 13:38:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-19 13:38:13 +0800 |
commit | 1a1a01a8423a58c2c9f4906364631b160ec593eb (patch) | |
tree | 76da60be7bd2e332b91171d0b1c342928284e846 /internal/db/models.go | |
parent | c4cf659e324379dba29c78d6e838dfebe6b59e2f (diff) |
ci: use new lint action and add custom config (#6562)
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 { |