1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-02-12 16:06:10 +02:00

[#116] fix BaseModel.RefreshUpdated comment

This commit is contained in:
Simon Krauter 2022-07-14 17:17:53 -03:00 committed by GitHub
parent c4fcba5210
commit 1095637bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
}