mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
* Move BackupDatabase and AnonymiseDatabase to internal/manager * Rename config.Instance to config.Config * Rename FFMPEG * Rework manager and initialization process * Fix Makefile * Tweak phasher * Fix config races * Fix setup error not clearing
12 lines
227 B
Go
12 lines
227 B
Go
package api
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/stashapp/stash/internal/manager"
|
|
)
|
|
|
|
func (r *mutationResolver) ReloadScrapers(ctx context.Context) (bool, error) {
|
|
manager.GetInstance().RefreshScraperCache()
|
|
return true, nil
|
|
}
|