search api update

This commit is contained in:
Čarodej
2022-05-03 16:11:00 +02:00
parent 8b3f76d1d0
commit 89e4ae6737
6 changed files with 22 additions and 20 deletions

View File

@@ -890,8 +890,8 @@ export default {
// Get route
let route = this.$store.getters.sharedDetail
? `/api/browse/search/${this.$router.currentRoute.params.token}`
: '/api/browse/search'
? `/api/search/${this.$router.currentRoute.params.token}`
: '/api/search'
axios
.get(`${route}?filter=${this.activeFilter}`, {