Revision 85ae5a4c snf-astakos-app/astakos/api/projects.py
b/snf-astakos-app/astakos/api/projects.py | ||
---|---|---|
95 | 95 |
grants = all_grants.get(application.id, []) |
96 | 96 |
resources = {} |
97 | 97 |
for grant in grants: |
98 |
if not grant.resource.api_visible: |
|
99 |
continue |
|
98 | 100 |
resources[grant.resource.name] = { |
99 | 101 |
"member_capacity": grant.member_capacity, |
100 | 102 |
"project_capacity": grant.project_capacity, |
Also available in: Unified diff