I'm getting a `'host' is not defined` error here. I think it should be `{host: config.apiHost}` no?

Going to try it and push a hotfix to master if that's all right...