add changes diffing modal & silence some logs
This commit is contained in:
parent
148488e2c4
commit
da353cec84
22 changed files with 1770 additions and 120 deletions
|
|
@ -5,7 +5,6 @@ import (
|
|||
"crypto/rand"
|
||||
"encoding/base64"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"recipe-manager/config"
|
||||
|
|
@ -63,7 +62,7 @@ func (ar *AuthRouter) Route(r chi.Router) {
|
|||
var kind string
|
||||
state := r.URL.Query().Get("state")
|
||||
|
||||
fmt.Println("url query", r.URL.Query())
|
||||
//fmt.Println("url query", r.URL.Query())
|
||||
|
||||
if state == "" {
|
||||
http.Error(w, "State not found", http.StatusBadRequest)
|
||||
|
|
@ -76,7 +75,7 @@ func (ar *AuthRouter) Route(r chi.Router) {
|
|||
return
|
||||
}
|
||||
|
||||
fmt.Println("val", val)
|
||||
//fmt.Println("val", val)
|
||||
|
||||
redirectTo = val["redirect_to"]
|
||||
kind = val["kind"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue