Skip to content
Snippets Groups Projects
Commit 24c884f0 authored by Bolke de Bruin's avatar Bolke de Bruin
Browse files

removed unsused

parent 66669d76
Loading
...@@ -77,12 +77,6 @@ func handleCallback(w http.ResponseWriter, r *http.Request) { ...@@ -77,12 +77,6 @@ func handleCallback(w http.ResponseWriter, r *http.Request) {
return return
} }
q, err := json.MarshalIndent(resp, "", " ")
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
var data map[string]interface{} var data map[string]interface{}
if err := json.Unmarshal(*resp.IDTokenClaims, &data); err != nil { if err := json.Unmarshal(*resp.IDTokenClaims, &data); err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError) http.Error(w, err.Error(), http.StatusInternalServerError)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment