diff options
author | Jesse Hallam <jesse.hallam@gmail.com> | 2018-07-20 12:03:08 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2018-07-20 09:03:08 -0700 |
commit | 908a682fcf3bbc48db75099f636d627616757b24 (patch) | |
tree | 255879c6545cd16fd6d16adadb55d07b089bcbe4 /plugin/plugintest/hooks.go | |
parent | 610ac5a53c0f6536ca65ed2fe6e0646b468bd275 (diff) | |
download | chat-908a682fcf3bbc48db75099f636d627616757b24.tar.gz chat-908a682fcf3bbc48db75099f636d627616757b24.tar.bz2 chat-908a682fcf3bbc48db75099f636d627616757b24.zip |
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
Diffstat (limited to 'plugin/plugintest/hooks.go')
-rw-r--r-- | plugin/plugintest/hooks.go | 2 |
1 files changed, 1 insertions, 1 deletions
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`. |