summaryrefslogtreecommitdiffstats
path: root/cmd/platform/oldcommands.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-01-20 14:47:14 +0000
committerChristopher Speller <crspeller@gmail.com>2017-01-20 09:47:14 -0500
commit2de6c5394ec3a1cd974aae46c41f61fb0e9f9bd8 (patch)
tree47dd540e415b75c0a61b8beeb1e7f6856cc8b361 /cmd/platform/oldcommands.go
parent6097f93704862215791ce8855c31471e40ef0af1 (diff)
downloadchat-2de6c5394ec3a1cd974aae46c41f61fb0e9f9bd8.tar.gz
chat-2de6c5394ec3a1cd974aae46c41f61fb0e9f9bd8.tar.bz2
chat-2de6c5394ec3a1cd974aae46c41f61fb0e9f9bd8.zip
Move Slack Import to App Layer. (#5135)
Diffstat (limited to 'cmd/platform/oldcommands.go')
-rw-r--r--cmd/platform/oldcommands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/platform/oldcommands.go b/cmd/platform/oldcommands.go
index 1ff65130c..ee7f66567 100644
--- a/cmd/platform/oldcommands.go
+++ b/cmd/platform/oldcommands.go
@@ -1075,7 +1075,7 @@ func cmdSlackImport() {
fmt.Fprintln(os.Stdout, "Running Slack Import. This may take a long time for large teams or teams with many messages.")
- api.SlackImport(fileReader, fileInfo.Size(), team.Id)
+ app.SlackImport(fileReader, fileInfo.Size(), team.Id)
flushLogAndExit(0)
}