Skip to content

Commit 95d1b00

Browse files
Merge branch 'main' into feat/solidgate_as_source
2 parents e3e30ff + a29ec31 commit 95d1b00

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ingestr/src/sources.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,8 +698,12 @@ def dlt_source(self, uri: str, table: str, **kwargs):
698698
raise ValueError("api_key in the URI is required to connect to Stripe")
699699

700700
endpoint = None
701-
table = table
702-
701+
702+
if table == "balancetransaction":
703+
table = "BalanceTransaction"
704+
else:
705+
table = table.capitalize()
706+
703707
if table in [
704708
"Subscription",
705709
"Account",

0 commit comments

Comments
 (0)