mirror of
https://github.com/StefBuwalda/WebTech.git
synced 2025-10-30 19:29:58 +00:00
Dashboard fix
This commit is contained in:
@@ -55,8 +55,8 @@ def service():
|
||||
name=name, # type: ignore
|
||||
url=url, # type: ignore
|
||||
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.commit()
|
||||
return render_template(
|
||||
|
||||
Reference in New Issue
Block a user