Enhanced model structs with DTOs

This commit is contained in:
Thomas Miceli
2023-03-17 14:56:39 +01:00
parent 42176c42c5
commit 167abd4ae5
10 changed files with 212 additions and 139 deletions

View File

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