admin/sync: theme's name is now part of the theme's dirname
This commit is contained in:
parent
cb02fa98dd
commit
9ab5738cff
5 changed files with 37 additions and 24 deletions
|
|
@ -163,7 +163,7 @@ func createTheme(_ httprouter.Params, body []byte) (interface{}, error) {
|
|||
return nil, errors.New("Theme's name not filled")
|
||||
}
|
||||
|
||||
return fic.CreateTheme(ut.Name, ut.URLId, ut.Authors, ut.Intro)
|
||||
return fic.CreateTheme(ut.Name, ut.URLId, "", ut.Authors, ut.Intro)
|
||||
}
|
||||
|
||||
func updateTheme(theme fic.Theme, body []byte) (interface{}, error) {
|
||||
|
|
|
|||
Reference in a new issue