]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/pages/Techniques.js
relax unique constraint on techniques
[alttp.git] / resources / js / components / pages / Techniques.js
index ebeb6e5613e8f9067995bbdbde2b639f93365967..c2d7aec80627aaec51f6344d113ecbfccb55530d 100644 (file)
@@ -39,11 +39,8 @@ const Techniques = ({ namespace, type }) => {
                        setLoading(true);
                }
                axios
-                       .get(`/api/content`, {
-                               params: {
-                                       type,
-                                       ...filter,
-                               },
+                       .get(`/api/pages/${type}`, {
+                               params: filter,
                                signal: ctrl.signal
                        })
                        .then(response => {