API fix
Merge branch 'master' of github.com:gogits/gogs