summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/platform/import.go4
-rw-r--r--cmd/platform/oldcommands.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/platform/import.go b/cmd/platform/import.go
index b482cda7e..09b135354 100644
--- a/cmd/platform/import.go
+++ b/cmd/platform/import.go
@@ -6,7 +6,7 @@ import (
"errors"
"os"
- "github.com/mattermost/platform/api"
+ "github.com/mattermost/platform/app"
"github.com/spf13/cobra"
)
@@ -54,7 +54,7 @@ func slackImportCmdF(cmd *cobra.Command, args []string) error {
CommandPrettyPrintln("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)
CommandPrettyPrintln("Finished Slack Import.")
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)
}