mirror of
https://github.com/StefBuwalda/WebTech.git
synced 2025-10-30 11:19:58 +00:00
Dashboard fix
This commit is contained in:
@@ -55,8 +55,8 @@ def service():
|
|||||||
name=name, # type: ignore
|
name=name, # type: ignore
|
||||||
url=url, # type: ignore
|
url=url, # type: ignore
|
||||||
user_id=current_user.id,
|
user_id=current_user.id,
|
||||||
icon=os.path.join(str(current_user.id), filename), # type: ignore
|
icon=str(current_user.id) + "/" + filename,
|
||||||
)
|
) # type: ignore
|
||||||
db.session.add(new_service)
|
db.session.add(new_service)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
return render_template(
|
return render_template(
|
||||||
|
|||||||
Reference in New Issue
Block a user