summaryrefslogtreecommitdiffstats
path: root/model/command.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-02-03 12:16:37 -0800
committer=Corey Hulen <corey@hulen.com>2016-02-03 12:16:37 -0800
commit4da7b0ccbd1b393613037f8ee5870d5660b36a84 (patch)
tree6e28709eb20884c0e3f03d07b0c52ed8e6b08a2f /model/command.go
parentd3a965a362037b4872dd9a8471e60f853bfc304e (diff)
downloadchat-4da7b0ccbd1b393613037f8ee5870d5660b36a84.tar.gz
chat-4da7b0ccbd1b393613037f8ee5870d5660b36a84.tar.bz2
chat-4da7b0ccbd1b393613037f8ee5870d5660b36a84.zip
Fixing based on feedback
Diffstat (limited to 'model/command.go')
-rw-r--r--model/command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/command.go b/model/command.go
index 4a726b4ac..56d88f13c 100644
--- a/model/command.go
+++ b/model/command.go
@@ -134,7 +134,7 @@ func (o *Command) PreUpdate() {
o.UpdateAt = GetMillis()
}
-func (o *Command) Sanatize() {
+func (o *Command) Sanitize() {
o.Token = ""
o.CreatorId = ""
o.Method = ""