option to substitute "Jellyfin" in form.html
setting is jellyfin/substitute_jellyfin_strings.
This commit is contained in:
committed by
Harvey Tindall
parent
f5602f1e96
commit
8d0dc232d7
@@ -1050,6 +1050,7 @@ func (app *appContext) ApplySettings(gc *gin.Context) {
|
||||
"homescreen": map[string]string{},
|
||||
}
|
||||
for _, id := range req.ApplyTo {
|
||||
fmt.Printf("%+v\n", policy)
|
||||
status, err := app.jf.SetPolicy(id, policy)
|
||||
if !(status == 200 || status == 204) || err != nil {
|
||||
errors["policy"][id] = fmt.Sprintf("%d: %s", status, err)
|
||||
|
||||
Reference in New Issue
Block a user