mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 23:18:26 +02:00
Added scan endpoint to trigger a scan for a library
This commit is contained in:
parent
077a17b093
commit
dda1cd2531
4 changed files with 46 additions and 5 deletions
|
@ -72,7 +72,7 @@ export default {
|
|||
this.isLoading = true
|
||||
self.errors = []
|
||||
self.result = null
|
||||
axios.get('/federation/libraries/scan/', {params: {account: this.libraryUsername}}).then((response) => {
|
||||
axios.get('/federation/libraries/fetch/', {params: {account: this.libraryUsername}}).then((response) => {
|
||||
self.result = response.data
|
||||
self.result.display_name = self.libraryUsername
|
||||
self.isLoading = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue