mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-13 15:28:37 +01:00
[#116] fix BaseModel.RefreshUpdated comment
This commit is contained in:
1 parent
c4fcba5210
commit
1095637bcd
1 file changed
+1
-1
+1
-1
@@ -71,7 +71,7 @@ func (m *BaseModel) RefreshCreated() {
|
|||||||
m.Created = types.NowDateTime()
|
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() {
|
func (m *BaseModel) RefreshUpdated() {
|
||||||
m.Updated = types.NowDateTime()
|
m.Updated = types.NowDateTime()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user