commit d0ab6e2101d5dfcf5910ea1fcd1ca57da028944a parent c2f6fb902c5cbee77da0ec29d1af74c5d4003c01 Author: MTRNord <mtrnord1@gmail.com> Date: Thu, 28 Jun 2018 22:39:20 +0200 Test something Diffstat:
| M | .idea/usage.statistics.xml | | | 8 | ++++---- |
| M | pkg/webhook/webhook.go | | | 2 | +- |
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.idea/usage.statistics.xml b/.idea/usage.statistics.xml @@ -38,14 +38,14 @@ <session id="958628364"> <usages-collector id="statistics.file.extensions.edit"> <counts> - <entry key="go" value="783" /> - <entry key="txt" value="435" /> + <entry key="go" value="791" /> + <entry key="txt" value="454" /> </counts> </usages-collector> <usages-collector id="statistics.file.types.edit"> <counts> - <entry key="Go" value="783" /> - <entry key="PLAIN_TEXT" value="435" /> + <entry key="Go" value="791" /> + <entry key="PLAIN_TEXT" value="454" /> </counts> </usages-collector> <usages-collector id="statistics.file.extensions.open"> diff --git a/pkg/webhook/webhook.go b/pkg/webhook/webhook.go @@ -149,7 +149,7 @@ func MessagesEndPoint(rw http.ResponseWriter, req *http.Request) { return } - if oresp.Payload.User.UserID == "" { + if "" == "" { resp := dflow.DoSignIn() // Do things with the context you just retrieved dff := &df.Fulfillment{