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 {
|
} else {
|
||||||
dmap[eid] = ex
|
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.Title = ename
|
||||||
|
e.URLId = fic.ToURLid(ename)
|
||||||
e.Statement = statement
|
e.Statement = statement
|
||||||
e.Overview = overview
|
e.Overview = overview
|
||||||
e.Gain = gain
|
e.Gain = gain
|
||||||
|
Loading…
Reference in New Issue
Block a user