From 908a682fcf3bbc48db75099f636d627616757b24 Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Fri, 20 Jul 2018 12:03:08 -0400 Subject: make GetChannelByName take teamId first (#9134) * make GetChannelByName take teamId first I think it is more natural to accept `teamId`, then `channelName`, given the pattern followed by other Plugin API methods and even the SQL Store itself. The App layer seems unusual in accepting `channelName` first. This also re-generates the mocks fixing the parameter order for the recently added `UserStatus` APIs. * add GetChannelByNameForTeamName --- plugin/plugintest/hooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/plugintest/hooks.go') diff --git a/plugin/plugintest/hooks.go b/plugin/plugintest/hooks.go index 61268c299..d88792f58 100644 --- a/plugin/plugintest/hooks.go +++ b/plugin/plugintest/hooks.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0 +// Code generated by mockery v1.0.0. DO NOT EDIT. // Regenerate this file using `make plugin-mocks`. -- cgit v1.2.3-1-g7c22