summaryrefslogtreecommitdiffstats
path: root/app/plugin/api.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-08-28 07:08:37 -0700
committerHarrison Healey <harrisonmhealey@gmail.com>2017-08-28 10:08:37 -0400
commit1709b94227ed33e789f1be00d26ebbb972ce86b7 (patch)
treebfadf6b52b2ce8985b59529aeb1b890fa214190d /app/plugin/api.go
parenta12cf549cf0dc394189f7a37f090bd3eebbca8ca (diff)
downloadchat-1709b94227ed33e789f1be00d26ebbb972ce86b7.tar.gz
chat-1709b94227ed33e789f1be00d26ebbb972ce86b7.tar.bz2
chat-1709b94227ed33e789f1be00d26ebbb972ce86b7.zip
PLT-5745 Cleaning up duplicate calls (#7298)
* PLT-5745 Cleaning up duplicate calls * Fixing missing calls * Fixing broken test
Diffstat (limited to 'app/plugin/api.go')
-rw-r--r--app/plugin/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/plugin/api.go b/app/plugin/api.go
index ceea51969..41838b818 100644
--- a/app/plugin/api.go
+++ b/app/plugin/api.go
@@ -30,7 +30,7 @@ type API interface {
GetDirectChannel(userId1, userId2 string) (*model.Channel, *model.AppError)
// Creates a post
- CreatePost(post *model.Post, teamId string) (*model.Post, *model.AppError)
+ CreatePost(post *model.Post) (*model.Post, *model.AppError)
// Returns a localized string. If a request is given, its headers will be used to pick a locale.
I18n(id string, r *http.Request) string