api: remote route takes advantage from builds functions
This commit is contained in:
parent
ded583008a
commit
f2fc142869
6 changed files with 83 additions and 6 deletions
|
|
@ -41,7 +41,7 @@ func init() {
|
|||
// Remote
|
||||
router.GET("/api/remote/themes", apiHandler(sync.ApiListRemoteThemes))
|
||||
router.GET("/api/remote/themes/:thid", apiHandler(sync.ApiGetRemoteTheme))
|
||||
router.GET("/api/remote/themes/:thid/exercices", apiHandler(themeHandler(sync.ApiListRemoteExercices)))
|
||||
router.GET("/api/remote/themes/:thid/exercices", apiHandler(sync.ApiListRemoteExercices))
|
||||
|
||||
// Synchronize
|
||||
router.GET("/api/sync/deep", apiHandler(
|
||||
|
|
|
|||
Reference in a new issue