Skip to content

Commit 3157521

Browse files
committed
HGI-8684: Simplify replication key logic
1 parent ccbe1f9 commit 3157521

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tap_quickbooks/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,7 @@ def do_discover(qb):
111111
fields = qb.describe(sobject_name)
112112

113113
replication_key = REPLICATION_KEY
114-
if sobject_name.endswith('Report'):
115-
replication_key = None
116-
117-
if sobject_name in FULL_SYNC_STREAMS:
114+
if sobject_name.endswith('Report') or sobject_name in FULL_SYNC_STREAMS:
118115
replication_key = None
119116

120117
properties = {}

0 commit comments

Comments
 (0)