浏览代码

fix import

Dasflugen 5 年之前
父节点
当前提交
2558976697
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      api/authorization.go

+ 2 - 1
api/authorization.go

@@ -46,7 +46,8 @@ func LoginRoute(w http.ResponseWriter, r *http.Request){
 				}
 			}
 		}
-		PrintConsole(string(entry))
+		entryJSON := json.Marshal(entry)
+		PrintConsole(entryJSON)
 		json.NewEncoder(w).Encode(userGroups)
 		return
 	}