summaryrefslogtreecommitdiffstats
path: root/cmd/platform/mattermost.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/platform/mattermost.go')
-rw-r--r--cmd/platform/mattermost.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/platform/mattermost.go b/cmd/platform/mattermost.go
index 4b564e1ab..a8845148a 100644
--- a/cmd/platform/mattermost.go
+++ b/cmd/platform/mattermost.go
@@ -79,7 +79,7 @@ func resetCmdF(cmd *cobra.Command, args []string) error {
}
}
- app.Srv.Store.DropAllTables()
+ app.Global().Srv.Store.DropAllTables()
CommandPrettyPrintln("Database sucessfully reset")
return nil