summaryrefslogtreecommitdiffstats
path: root/cmd/platform/import.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/platform/import.go')
-rw-r--r--cmd/platform/import.go4
1 files changed, 2 insertions, 2 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.")