From 2de6c5394ec3a1cd974aae46c41f61fb0e9f9bd8 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Fri, 20 Jan 2017 14:47:14 +0000 Subject: Move Slack Import to App Layer. (#5135) --- cmd/platform/import.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/platform/import.go') 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.") -- cgit v1.2.3-1-g7c22