mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Ran formatter and fixed some lint issues
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"github.com/stashapp/stash/manager/jsonschema"
|
||||
)
|
||||
|
||||
type jsonUtils struct {}
|
||||
type jsonUtils struct{}
|
||||
|
||||
func (jp *jsonUtils) getMappings() (*jsonschema.Mappings, error) {
|
||||
return jsonschema.LoadMappingsFile(instance.Paths.JSON.MappingsFile)
|
||||
@@ -44,4 +44,4 @@ func (jp *jsonUtils) getScene(checksum string) (*jsonschema.Scene, error) {
|
||||
|
||||
func (jp *jsonUtils) saveScene(checksum string, scene *jsonschema.Scene) error {
|
||||
return jsonschema.SaveSceneFile(instance.Paths.JSON.SceneJSONPath(checksum), scene)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user