Changes:
- EE: fixed /accounts - merged license status into /accounts
This commit is contained in:
parent
a3aae9dbce
commit
29bb1735f5
2 changed files with 7 additions and 6 deletions
|
|
@ -71,11 +71,12 @@ def get_account(context):
|
|||
"limits": {
|
||||
"teamMember": -1,
|
||||
"projects": -1,
|
||||
"metadata": metadata.get_remaining_metadata_with_count(context['tenantId'])},
|
||||
"metadata": metadata.get_remaining_metadata_with_count(context['tenantId'])
|
||||
},
|
||||
**license.get_status(context["tenantId"])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@app.route('/projects', methods=['GET'])
|
||||
def get_projects(context):
|
||||
return {"data": projects.get_projects(tenant_id=context["tenantId"], recording_state=True, gdpr=True, recorded=True,
|
||||
|
|
|
|||
|
|
@ -70,13 +70,13 @@ def get_account(context):
|
|||
**r,
|
||||
"limits": {
|
||||
"teamMember": -1,
|
||||
# change this in open-source
|
||||
"projects": -1, # change this in open-source
|
||||
"metadata": metadata.get_remaining_metadata_with_count(context['tenantId'])},
|
||||
"projects": -1,
|
||||
"metadata": metadata.get_remaining_metadata_with_count(context['tenantId'])
|
||||
},
|
||||
**license.get_status(context["tenantId"])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@app.route('/projects', methods=['GET'])
|
||||
def get_projects(context):
|
||||
return {"data": projects.get_projects(tenant_id=context["tenantId"], recording_state=True, gdpr=True, recorded=True,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue