remove import fields update

This commit is contained in:
Shawn Grigson 2023-09-10 17:29:57 -05:00
parent 9f0c36e751
commit b297e390f7
1 changed files with 0 additions and 4 deletions

View File

@ -576,10 +576,6 @@ def push_blocklist(token: str, host: str, blocklist: list[DomainBlock],
# Force use of the admin API, and add 'id' to the list of fields # Force use of the admin API, and add 'id' to the list of fields
if 'id' not in import_fields: if 'id' not in import_fields:
import_fields.append('id') import_fields.append('id')
# if we're overriding the private comment, we need to include it in the import
if override_private_comment:
import_fields.append('private_comment')
serverblocks = fetch_instance_blocklist(host, token, True, import_fields, scheme) serverblocks = fetch_instance_blocklist(host, token, True, import_fields, scheme)
# # Convert serverblocks to a dictionary keyed by domain name # # Convert serverblocks to a dictionary keyed by domain name