Skip to content

Commit

Permalink
format lol
Browse files Browse the repository at this point in the history
  • Loading branch information
akrakman committed Dec 6, 2022
1 parent 4e4d399 commit 08be118
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ def authorize():
# query database for username and create session
page = UserPage(user_info["email"])
session["username"] = page.get_user(user_info["email"]).username
return redirect("http://localhost:3000"), 301 # necessary status code for Flask to auto-redirect
return (
redirect("http://localhost:3000"),
301,
) # necessary status code for Flask to auto-redirect


@app.route("/login", methods=["GET", "POST"])
Expand Down

3 comments on commit 08be118

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
app.py171895%47–55
auth.py90100% 
config.py10100% 
decorators.py270100% 
dataholders
   apt.py90100% 
   mainpage_get.py160100% 
   review.py70100% 
   user.py80100% 
pages
   login.py290100% 
   mainpage.py1200100% 
   userpage.py530100% 
TOTAL450898% 

Tests Skipped Failures Errors Time
54 0 💤 0 ❌ 0 🔥 1.117s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
app.py171895%47–55
auth.py90100% 
config.py10100% 
decorators.py270100% 
dataholders
   apt.py90100% 
   mainpage_get.py160100% 
   review.py70100% 
   user.py80100% 
pages
   login.py290100% 
   mainpage.py1200100% 
   userpage.py530100% 
TOTAL450898% 

Tests Skipped Failures Errors Time
54 0 💤 0 ❌ 0 🔥 1.315s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
app.py171895%47–55
auth.py90100% 
config.py10100% 
decorators.py270100% 
dataholders
   apt.py90100% 
   mainpage_get.py160100% 
   review.py70100% 
   user.py80100% 
pages
   login.py290100% 
   mainpage.py1200100% 
   userpage.py530100% 
TOTAL450898% 

Tests Skipped Failures Errors Time
54 0 💤 0 ❌ 0 🔥 1.635s ⏱️

Please sign in to comment.