This commit is contained in:
decryptus 2022-01-20 11:49:44 +00:00 committed by GitHub
commit 3854e63b9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -287,7 +287,7 @@ def api_login_delete_zone(domain_name):
domain.update() domain.update()
history = History(msg='Delete domain {0}'.format( history = History(msg='Delete domain {0}'.format(
pretty_domain_name(domain_name)), utils.pretty_domain_name(domain_name)),
detail='', detail='',
created_by=current_user.username, created_by=current_user.username,
domain_id=domain_id) domain_id=domain_id)
@ -1175,7 +1175,7 @@ def api_server_config_forward(server_id):
resp = helper.forward_request() resp = helper.forward_request()
return resp.content, resp.status_code, resp.headers.items() return resp.content, resp.status_code, resp.headers.items()
# The endpoint to snychronize Domains in background # The endpoint to synchronize Domains in background
@api_bp.route('/sync_domains', methods=['GET']) @api_bp.route('/sync_domains', methods=['GET'])
@apikey_or_basic_auth @apikey_or_basic_auth
def sync_domains(): def sync_domains():