Skip to content

Commit b233d81

Browse files
committed
Fixed return on report creation
1 parent 27541b2 commit b233d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/PyMatcha/routes/api/profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,4 @@ def report_profile(uid):
241241
raise BadRequestError("Cannot report yourself", "Try again")
242242
Report.create(reporter_id=current_user.id, reported_id=u.id, reason=reason, details=details)
243243

244-
return Success(f"Report created on user {u.id} {u.get_reports_sent()} {u.get_reports_received()}")
244+
return Success(f"Report created on user {u.email}")

0 commit comments

Comments
 (0)