Skip to content

Commit

Permalink
Merge pull request #50 from CS222-UIUC/aden/removeusernameroute
Browse files Browse the repository at this point in the history
remove <username>
  • Loading branch information
akrakman authored Nov 28, 2022
2 parents 050fd68 + 8558ea2 commit 810d730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def register():
return "", 400


@app.route("/user/<username>", methods=["GET", "POST"])
@app.route("/user", methods=["GET", "POST"])
def userpage():
"""Handles userpage requests"""
if session.get("username", None) is None:
Expand Down

3 comments on commit 810d730

@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
FileStmtsMissCover
app.py1380100%
config.py10100%
decorators.py270100%
dataholders
   apt.py90100%
   mainpage_get.py150100%
   review.py70100%
   user.py80100%
pages
   login.py290100%
   mainpage.py1000100%
   userpage.py540100%
TOTAL3880100%

Tests Skipped Failures Errors Time
49 0 💤 0 ❌ 0 🔥 0.872s ⏱️

@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
FileStmtsMissCover
app.py1380100%
config.py10100%
decorators.py270100%
dataholders
   apt.py90100%
   mainpage_get.py150100%
   review.py70100%
   user.py80100%
pages
   login.py290100%
   mainpage.py1000100%
   userpage.py540100%
TOTAL3880100%

Tests Skipped Failures Errors Time
49 0 💤 0 ❌ 0 🔥 0.838s ⏱️

@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
FileStmtsMissCover
app.py1380100%
config.py10100%
decorators.py270100%
dataholders
   apt.py90100%
   mainpage_get.py150100%
   review.py70100%
   user.py80100%
pages
   login.py290100%
   mainpage.py1000100%
   userpage.py540100%
TOTAL3880100%

Tests Skipped Failures Errors Time
49 0 💤 0 ❌ 0 🔥 1.075s ⏱️

Please sign in to comment.