feat(api): fixed expiration date feat(api): fixed change name feat(api): fixed change role feat(api): fixed has password feat(api): refactored edit user feat(api): refactored edit member
12 lines
261 B
Python
12 lines
261 B
Python
from chalicelib.core import unlock
|
|
|
|
EDITION = 'ee'
|
|
|
|
|
|
def get_status(tenant_id):
|
|
license = unlock.get_license()
|
|
return {
|
|
"hasActivePlan": unlock.is_valid(),
|
|
"edition": EDITION,
|
|
"expirationDate": unlock.get_expiration_date()
|
|
}
|