def server_delete_qualification_level_doctors(): cookie = request.cookies.get("_s") ip_addr = flask.request.remote_addr token = request.form.get('token') doctor_id = request.form.get('doctor_id') if (validate_doctor_id_from_doctors(doctor_id) == False): return dumps({'_error': 'doctor_id is invalid'}) return dumps({})
def server_update_license_expiry_date_doctors(): cookie = request.cookies.get("_s") ip_addr = flask.request.remote_addr token = request.form.get('token') doctor_id = request.form.get('doctor_id') if (validate_doctor_id_from_doctors(doctor_id) == False): return dumps({'_error': 'doctor_id is invalid'}) return dumps({})