Revert "try with import field"

This reverts commit b833ad6d41.
This commit is contained in:
Shawn Grigson 2023-09-10 18:03:06 -05:00
parent b833ad6d41
commit a4be5ff675
1 changed files with 0 additions and 2 deletions

View File

@ -576,8 +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 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