Fix loading zone with Slave type

This commit is contained in:
Khanh Ngo 2020-05-02 09:41:01 +07:00
parent 978c0b6c62
commit 33eff6313f
No known key found for this signature in database
GPG key ID: A945965CD6351844

View file

@ -61,7 +61,7 @@ def domain(domain_name):
current_app.logger.debug("Fetched rrests: \n{}".format(pretty_json(rrsets)))
# API server might be down, misconfigured
if not rrsets:
if not rrsets and domain.type != 'Slave':
abort(500)
quick_edit = Setting().get('record_quick_edit')