Skip to content

Commit

Permalink
Update x-pack/plugins/licensing/README.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Josh Dover <me@joshdover.com>
  • Loading branch information
mshustov and joshdover committed Dec 7, 2019
1 parent 7eec72a commit 404582d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/licensing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class MyPlugin {
deps.licensing.license$.subscribe(license => {
const { state, message } = license.check('myPlugin', 'gold')
const hasRequiredLicense = state === LICENSE_CHECK_STATE.Valid;
if(hasRequiredLicense && license.getFeature('name').isAvailable){
if (hasRequiredLicense && license.getFeature('name').isAvailable) {
// enable some server side logic
} else {
log(message);
Expand Down

0 comments on commit 404582d

Please sign in to comment.