summaryrefslogtreecommitdiffstats
path: root/web/web.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-01-20 08:44:05 -0600
committer=Corey Hulen <corey@hulen.com>2016-01-20 08:44:05 -0600
commitef11df753227f3082d5c2226c0e7525e14ed47c7 (patch)
tree281d2aff44f17084d6133593e7c0bf12dc3615ec /web/web.go
parent5b2ec623473abeb44577fbfc9122b792a94a5184 (diff)
downloadchat-ef11df753227f3082d5c2226c0e7525e14ed47c7.tar.gz
chat-ef11df753227f3082d5c2226c0e7525e14ed47c7.tar.bz2
chat-ef11df753227f3082d5c2226c0e7525e14ed47c7.zip
PLT-7 adding loc db calls for webhooks table
Diffstat (limited to 'web/web.go')
-rw-r--r--web/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web.go b/web/web.go
index 31b9005e5..c7a7b8666 100644
--- a/web/web.go
+++ b/web/web.go
@@ -1022,7 +1022,7 @@ func incomingWebhook(c *api.Context, w http.ResponseWriter, r *http.Request) {
params := mux.Vars(r)
id := params["id"]
- hchan := api.Srv.Store.Webhook().GetIncoming(id)
+ hchan := api.Srv.Store.Webhook().GetIncoming(c.T, id)
r.ParseForm()