CHORE: Removed random prints and cleaned code
This commit is contained in:
@ -76,8 +76,8 @@ def id(id: int):
|
||||
|
||||
# Record a view on the product
|
||||
db = StatsController()
|
||||
|
||||
user_id = session.get('user_id')
|
||||
print(user_id)
|
||||
db.create(Stats(product.id, user_id))
|
||||
|
||||
return render_template(
|
||||
|
Reference in New Issue
Block a user