Skip to content

Commit

Permalink
Merge pull request #8 from ContinuumIO/CORE-5238/bugfix-metabase-api-…
Browse files Browse the repository at this point in the history
…get-databases
  • Loading branch information
AlbertDeFusco authored Jan 19, 2024
2 parents 4922c59 + a250feb commit 05b3234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intake_metabase/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def get_databases(self):
self._create_or_refresh_token()

headers = _merge_dicts({'X-Metabase-Session': self._token}, self.extra_headers)
params = {'include': 'tables', 'saved': True}
params = json.dumps({'include': 'tables', 'saved': True})

res = requests.get(
urljoin(self.domain, '/api/database'),
Expand Down

0 comments on commit 05b3234

Please # to comment.