sync: fix synchronized URLId
This commit is contained in:
parent
d05c211a7c
commit
e6b1b932f4
@ -88,8 +88,9 @@ func SyncExercices(i Importer, theme fic.Theme) []string {
|
||||
} else {
|
||||
dmap[eid] = ex
|
||||
}
|
||||
} else if e.Title != ename || e.Statement != statement || e.Overview != overview || e.Gain != gain || e.VideoURI != videoURI {
|
||||
} else if e.Title != ename || e.URLId == "" || e.Statement != statement || e.Overview != overview || e.Gain != gain || e.VideoURI != videoURI {
|
||||
e.Title = ename
|
||||
e.URLId = fic.ToURLid(ename)
|
||||
e.Statement = statement
|
||||
e.Overview = overview
|
||||
e.Gain = gain
|
||||
|
Loading…
Reference in New Issue
Block a user