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

Fix endpoint modifier only-owner #337

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

michavie
Copy link
Contributor

@michavie michavie commented Oct 6, 2023

The first PR had an unfortunate mistake

ownerOnly -> onlyOwner

@michavie michavie changed the title fix endpoint modifier only-owner Fix endpoint modifier only-owner Oct 6, 2023
Copy link
Contributor

@andreibancioiu andreibancioiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 🙏

Please bump the version, as well, to 12.11.0.

mutability: string,
payableInTokens: string[],
inputs: any[],
outputs: any[]
}): EndpointDefinition {
json.name = json.name == null ? NamePlaceholder : json.name;
json.ownerOnly = json.ownerOnly || false;
json.onlyOwner = json.onlyOwner || false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Theoretically, breaking change since latest (today's) release, but it's all right - we will only increase the minor version.

@andreibancioiu andreibancioiu merged commit e6727b1 into multiversx:main Oct 6, 2023
1 check passed
@michavie michavie deleted the only-owner-modifier-fix branch October 6, 2023 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants