소스 검색

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
 	}