Skip to content

Commit

Permalink
Merge pull request #439 from metabrainz/quickbooks-fix
Browse files Browse the repository at this point in the history
enable_global no longer exists
  • Loading branch information
mayhem authored Oct 20, 2023
2 parents 79c3336 + 5b62387 commit 9064a7c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion metabrainz/admin/quickbooks/quickbooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def get_client(realm, refresh_token):
Create the QuickBooks client object from the auth client.
'''

QuickBooks.enable_global()
qb = QuickBooks(
auth_client=current_app.quickbooks_auth_client,
refresh_token=refresh_token,
Expand Down
1 change: 0 additions & 1 deletion metabrainz/invoices/send_invoices.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class QuickBooksInvoiceSender():
""" This class uses the QuickBooks API to sent invoices from our own mail ifrastructure. """

def __init__(self):
QuickBooks.enable_global()
self.auth_client = AuthClient(
client_id=current_app.config["QUICKBOOKS_CLIENT_ID"],
client_secret=current_app.config["QUICKBOOKS_CLIENT_SECRET"],
Expand Down

0 comments on commit 9064a7c

Please sign in to comment.