mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-28 14:05:41 +00:00
changes response
This commit is contained in:
parent
5ea70023ff
commit
c8d9f4bf22
@ -666,10 +666,8 @@ def domain_dnssec_disable(domain_name):
|
||||
for key in dnssec['dnssec']:
|
||||
response = domain.delete_dnssec_key(domain_name,key['id']);
|
||||
|
||||
return make_response(jsonify( { 'status': 'ok', 'msg': 'Setting updated.', 'response': response } ))
|
||||
return make_response(jsonify( { 'status': 'ok', 'msg': 'DNSSEC removed.' } ))
|
||||
|
||||
#return make_response(jsonify({'status': 'error', 'msg': 'Function not implemented'}), 400)
|
||||
#return make_response(jsonify(dnssec), 200)
|
||||
|
||||
@app.route('/domain/<string:domain_name>/managesetting', methods=['GET', 'POST'])
|
||||
@login_required
|
||||
|
Loading…
Reference in New Issue
Block a user