fix minor bugs in api
Merge branch 'master' of https://github.com/huyntvn13/ci_newsbuddy