Skip to content

Commit

Permalink
HG-3421 / Add fields to CreditNotesStream's schema (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
arilton authored Sep 5, 2024
1 parent 479f453 commit 4352148
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions tap_chargebee/schemas/credit_notes.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@
"currency_code": {
"type": ["null", "string"]
},
"base_currency_code": {
"type": ["null", "string"]
},
"local_currency_code": {
"type": ["null", "string"]
},
"local_currency_exchange_rate": {
"type": ["null", "number"]
},
"exchange_rate": {
"type": ["null", "number"]
},
Expand Down
2 changes: 1 addition & 1 deletion tap_chargebee/streams/credit_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ class CreditNotesStream(BaseChargebeeStream):
API_METHOD = 'GET'

def get_url(self):
return 'https://{}/api/v2/credit_notes'.format(self.config.get('full_site'))
return 'https://{}/api/v2/credit_notes'.format(self.config.get('full_site'))

0 comments on commit 4352148

Please sign in to comment.