[BUG] Fixed delete zone from API

This commit is contained in:
Adrien Delle Cave 2022-01-19 13:50:12 +01:00
parent 0b2ad520b7
commit 98bd9634a4

View File

@ -287,7 +287,7 @@ def api_login_delete_zone(domain_name):
domain.update()
history = History(msg='Delete domain {0}'.format(
pretty_domain_name(domain_name)),
utils.pretty_domain_name(domain_name)),
detail='',
created_by=current_user.username,
domain_id=domain_id)