Update preview and file count when git push with http/ssh

هذا الالتزام موجود في:
Thomas Miceli
2023-03-19 00:27:30 +01:00
الأصل b505f7147e
التزام 8998e46fea
3 ملفات معدلة مع 35 إضافات و1 حذوفات

عرض الملف

@@ -83,6 +83,7 @@ func runGitCommand(ch ssh.Channel, gitCmd string, keyID uint) error {
// updatedAt is updated only if serviceType is receive-pack
if verb == "receive-pack" {
_ = gist.SetLastActiveNow()
_ = gist.UpdatePreviewAndCount()
}
return nil