feat(api): changed /limits response
This commit is contained in:
parent
6cb997def7
commit
ebc2f809a3
1 changed files with 3 additions and 5 deletions
|
|
@ -175,10 +175,8 @@ def get_projects(context: schemas.CurrentContext = Depends(OR_context)):
|
||||||
def get_limits(context: schemas.CurrentContext = Depends(OR_context)):
|
def get_limits(context: schemas.CurrentContext = Depends(OR_context)):
|
||||||
return {
|
return {
|
||||||
'data': {
|
'data': {
|
||||||
"limits": {
|
"teamMember": -1,
|
||||||
"teamMember": -1,
|
"projects": -1,
|
||||||
"projects": -1,
|
"metadata": metadata.get_remaining_metadata_with_count(context.tenant_id)
|
||||||
"metadata": metadata.get_remaining_metadata_with_count(context.tenant_id)
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue