api: refactoring
Merge branch 'master' of github.com:hoffie/larasync
api: fix test case broken by merge