ailistener

git clone git://archive.git.mtrnord.blog/OpenHomeAuto/ailistener.git
Log | Files | Refs | LICENSE

commit 7c41dd5aa9788d08062bceb896ff9bae531a05c8
parent 5ec5f0588a8e9b2b5b086fb463c82e668ae90b67
Author: MTRNord <mtrnord1@gmail.com>
Date:   Thu, 28 Jun 2018 20:36:03 +0200

Debug SignIn

Diffstat:
M.idea/usage.statistics.xml | 8++++----
Mpkg/webhook/webhook.go | 5+++--
2 files changed, 7 insertions(+), 6 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="90" /> - <entry key="txt" value="97" /> + <entry key="go" value="99" /> + <entry key="txt" value="109" /> </counts> </usages-collector> <usages-collector id="statistics.file.types.edit"> <counts> - <entry key="Go" value="90" /> - <entry key="PLAIN_TEXT" value="97" /> + <entry key="Go" value="99" /> + <entry key="PLAIN_TEXT" value="109" /> </counts> </usages-collector> <usages-collector id="statistics.file.extensions.open"> diff --git a/pkg/webhook/webhook.go b/pkg/webhook/webhook.go @@ -97,14 +97,15 @@ func MessagesEndPoint(rw http.ResponseWriter, req *http.Request) { return }*/ - log.Println(dfr) + log.Println(dfr.QueryResult) - _, err = dflow.DoSignIn(dfr.Session) + resp, err := dflow.DoSignIn(dfr.Session) if err != nil { log.Println(err) rw.WriteHeader(http.StatusBadRequest) return } + log.Println(resp) // Do things with the context you just retrieved dff := &df.Fulfillment{