diff --git a/src/index.js b/src/index.js index 274b7718..3ad9d826 100644 --- a/src/index.js +++ b/src/index.js @@ -603,14 +603,16 @@ export default class Client { user_licenses, big_dev, format = null, - country_code = null + country_code = null, + agency_site ) { const query = { plan, storage, environments, user_licenses, - big_dev + big_dev, + agency_site }; if (format) query.format = format; if (country_code) query.country_code = country_code; diff --git a/src/model/Subscription.js b/src/model/Subscription.js index 0c766fdc..c3286f3f 100644 --- a/src/model/Subscription.js +++ b/src/model/Subscription.js @@ -19,7 +19,13 @@ const creatableField = [ "default_branch" ]; -const modifiableField = ["plan", "environments", "storage", "big_dev"]; +const modifiableField = [ + "plan", + "environments", + "storage", + "big_dev", + "agency_site" +]; const url = "/v1/subscriptions/:id"; const STATUS_ACTIVE = "active";