Browse Source

fix import

Dasflugen 5 năm trước cách đây
mục cha
commit
2558976697
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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
 	}