summaryrefslogtreecommitdiffstats
path: root/model/command.go
diff options
context:
space:
mode:
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 = ""