changes response

This commit is contained in:
Jeroen Boonstra 2018-03-05 15:11:42 +01:00
parent 5ea70023ff
commit c8d9f4bf22

View File

@ -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