Added scan endpoint to trigger a scan for a library

This commit is contained in:
Eliot Berriot 2018-04-12 18:42:21 +02:00
parent 077a17b093
commit dda1cd2531
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 46 additions and 5 deletions

View file

@ -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