aboutsummaryrefslogtreecommitdiffstats
path: root/models/notification.go
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-01-04 19:50:34 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2017-01-05 08:50:34 +0800
commit1207bda94b8de9f0cc618c4ccce235d809a5559e (patch)
tree9650961a7aa1dd3de883f5f6bef27db420b26227 /models/notification.go
parentdc3ff9f2abc935f06940de56d613dacde3ee8c13 (diff)
downloadgitea-1207bda94b8de9f0cc618c4ccce235d809a5559e.tar.gz
gitea-1207bda94b8de9f0cc618c4ccce235d809a5559e.zip
Fix typos in models/ (#576)
Diffstat (limited to 'models/notification.go')
-rw-r--r--models/notification.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/notification.go b/models/notification.go
index 46d63b4823..69f96bb5e6 100644
--- a/models/notification.go
+++ b/models/notification.go
@@ -66,7 +66,7 @@ func (n *Notification) BeforeInsert() {
n.UpdatedUnix = nowUnix
}
-// BeforeUpdate runs while updateing a record
+// BeforeUpdate runs while updating a record
func (n *Notification) BeforeUpdate() {
var (
now = time.Now()