Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added ageny_site for cost estimation #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 7 additions & 1 deletion src/model/Subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ const creatableField = [
"default_branch"
];

const modifiableField = ["plan", "environments", "storage", "big_dev"];
const modifiableField = [
"plan",
"environments",
"storage",
"big_dev",
"agency_site"
ydeshayes marked this conversation as resolved.
Show resolved Hide resolved
];

const url = "/v1/subscriptions/:id";
const STATUS_ACTIVE = "active";
Expand Down