Skip to content

Commit

Permalink
Fix nil schema in /api/table/:id/query_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
ranquild committed Apr 4, 2024
1 parent 2b8fe78 commit 38ac092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metabase/api/table.clj
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
(as-> (t2/select Table, :active true, {:order-by [[:name :asc]]}) tables
(t2/hydrate tables :db)
(filterv mi/can-read? tables)
(mapv format-table-for-response)))
(mapv #(format-table-for-response %))))

(api/defendpoint GET "/:id"
"Get `Table` with ID."
Expand Down

0 comments on commit 38ac092

Please sign in to comment.