fix: Error in admin delete link function call
All checks were successful
Build Docker / Build Main Image (push) Successful in 20s
All checks were successful
Build Docker / Build Main Image (push) Successful in 20s
This commit is contained in:
parent
afbae819c9
commit
ba374dc2af
2
main.py
2
main.py
@ -148,7 +148,7 @@ def delete(path):
|
|||||||
if domain.lower() != ADMIN_DOMAIN:
|
if domain.lower() != ADMIN_DOMAIN:
|
||||||
db.delete_link(path,domain)
|
db.delete_link(path,domain)
|
||||||
else:
|
else:
|
||||||
db.delete_link_admin(path,domain)
|
db.delete_link_admin(path)
|
||||||
return redirect('/dash')
|
return redirect('/dash')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user