Skip to content

Commit

Permalink
[pocketbase#116] fix BaseModel.RefreshUpdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
simonkrauter authored Jul 14, 2022
1 parent c4fcba5 commit 1095637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 1095637

Please sign in to comment.