Perform full deep synchronisation
This commit is contained in:
parent
9225038ffa
commit
6ef91a92e5
2 changed files with 29 additions and 0 deletions
|
@ -45,6 +45,8 @@ func init() {
|
|||
router.GET("/api/remote/themes/:thid/exercices", apiHandler(themeHandler(sync.ApiListRemoteExercices)))
|
||||
|
||||
// Synchronize
|
||||
router.GET("/api/sync/deep", apiHandler(
|
||||
func(_ httprouter.Params, _ []byte) (interface{}, error) { return sync.SyncDeep(sync.GlobalImporter), nil }))
|
||||
router.GET("/api/sync/themes", apiHandler(
|
||||
func(_ httprouter.Params, _ []byte) (interface{}, error) { return sync.SyncThemes(sync.GlobalImporter), nil }))
|
||||
router.GET("/api/sync/themes/:thid/exercices", apiHandler(themeHandler(
|
||||
|
|
Reference in a new issue