Update api-factory.js
Merge commit 'c5a46b8571414d7b04ee005b744d6dcd915c2a19'

* commit 'c5a46b8571414d7b04ee005b744d6dcd915c2a19':
  Update api-factory.js