Skip to content
Snippets Groups Projects
Unverified Commit 8509a8d6 authored by Chris Truter's avatar Chris Truter Committed by GitHub
Browse files

Remove trailing slash from API route (#42320)

parent 07a22a88
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
[metabase.util.malli.schema :as ms]
[toucan2.core :as t2]))
(api/defendpoint GET "/tables/"
(api/defendpoint GET "/tables"
"Get all `Tables` visible to the current user which were created by uploading a file."
[]
(as-> (t2/select :model/Table, :active true, :is_upload true, {:order-by [[:name :asc]]}) tables
......
......@@ -8,7 +8,7 @@
[metabase.upload :as upload]
[toucan2.tools.with-temp :as t2.with-temp]))
(def list-url "ee/upload-management/tables/")
(def list-url "ee/upload-management/tables")
(deftest list-uploaded-tables-test
(testing "GET ee/upload-management/tables"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment