diff --git a/src/cmd/api.js b/src/cmd/api.js index 7badca501..d37fed4fa 100644 --- a/src/cmd/api.js +++ b/src/cmd/api.js @@ -145,15 +145,6 @@ module.exports = class ParticleApi { ); } - listBuildTargets(onlyFeatured){ - return this._wrap( - this.api.listBuildTargets({ - onlyFeatured, - auth: this.accessToken - }) - ); - } - listDeviceOsVersions(platformId, internalVersion, perPage=100){ return this._wrap( this.api.listDeviceOsVersions({ diff --git a/src/lib/api-client.js b/src/lib/api-client.js index 32f68e938..44dc2b41e 100644 --- a/src/lib/api-client.js +++ b/src/lib/api-client.js @@ -898,31 +898,6 @@ module.exports = class ApiClient { }); } - getBuildTargets(){ - return new Promise((resolve, reject) => { - const options = { - uri: '/v1/build_targets', - qs: { - featured: true - }, - method: 'GET', - json: true - }; - - this.request(options, (error, response, body) => { - if (error){ - return reject(error); - } - - if (this.hasBadToken(body)){ - return reject('Invalid token'); - } - - resolve(body); - }); - }); - } - getClaimCode(){ return new Promise((resolve, reject) => { const options = {