Fixing bad merge - intentsApi.js