sync: import heading theme image

This commit is contained in:
nemunaire 2018-11-25 03:35:54 +01:00
commit 3a0c892148
4 changed files with 24 additions and 4 deletions

View file

@ -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) {