From 1095637bcd9aaf3901bdc075dc430a1003efaa8d Mon Sep 17 00:00:00 2001 From: Simon Krauter Date: Thu, 14 Jul 2022 17:17:53 -0300 Subject: [PATCH] [#116] fix BaseModel.RefreshUpdated comment --- models/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/base.go b/models/base.go index eb20529e..e85a55dd 100644 --- a/models/base.go +++ b/models/base.go @@ -71,7 +71,7 @@ func (m *BaseModel) RefreshCreated() { m.Created = types.NowDateTime() } -// RefreshUpdated updates the model's Created field with the current datetime. +// RefreshUpdated updates the model's Updated field with the current datetime. func (m *BaseModel) RefreshUpdated() { m.Updated = types.NowDateTime() }