Skip to content

Commit

Permalink
Fix spaces license check (#26270)
Browse files Browse the repository at this point in the history
## Summary

Allows the public spaces API to work with a gold license

Resolves #26271
  • Loading branch information
legrego authored Nov 27, 2018
1 parent 6e06bfb commit d99aa2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/spaces/server/lib/check_license.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function checkLicense(xPackInfo: any): LicenseCheckResult {
};
}

const isAnyXpackLicense = xPackInfo.license.isOneOf(['basic', 'platinum', 'trial']);
const isAnyXpackLicense = xPackInfo.license.isOneOf(['basic', 'gold', 'platinum', 'trial']);

if (!isAnyXpackLicense) {
return {
Expand Down

0 comments on commit d99aa2d

Please sign in to comment.