Skip to content

Commit

Permalink
login fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiayk20 committed Nov 11, 2023
1 parent 2513994 commit 3927fdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/newHere1/newHere/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion app/newHere1/newHere/LoginView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3927fdf

Please sign in to comment.