diff --git a/app/newHere1/newHere/ContentView.swift b/app/newHere1/newHere/ContentView.swift index 037cab8..8c288aa 100644 --- a/app/newHere1/newHere/ContentView.swift +++ b/app/newHere1/newHere/ContentView.swift @@ -14,7 +14,7 @@ struct ContentView: View { // testing @State var friendsPresented = true - @State var userId = "653d51478ff5b3c9ace45c26" + //@State var userId = "653d51478ff5b3c9ace45c26" var body: some View { if isAuthenticated { diff --git a/app/newHere1/newHere/LoginView.swift b/app/newHere1/newHere/LoginView.swift index 400f948..1208147 100644 --- a/app/newHere1/newHere/LoginView.swift +++ b/app/newHere1/newHere/LoginView.swift @@ -60,7 +60,7 @@ struct LoginView: View { func LogInUser(){ let requestBody: [String: Any] = [ - "userName": username, + "inputLogin": username, "password": password] guard let jsonData = try? JSONSerialization.data(withJSONObject: requestBody)