mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
* Add reload scraper option to performer details * Add scraper reload to scene edit page * Show scene scraper menu when no queryable scrapers * Add 0.3 changelog
17 lines
252 B
Go
17 lines
252 B
Go
package api
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/stashapp/stash/pkg/scraper"
|
|
)
|
|
|
|
func (r *mutationResolver) ReloadScrapers(ctx context.Context) (bool, error) {
|
|
err := scraper.ReloadScrapers()
|
|
|
|
if err != nil {
|
|
return false, err
|
|
}
|
|
|
|
return true, nil
|
|
}
|