Commit 1ec0da3d authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Fix AttributeError

parent e295b4ae
......@@ -1785,7 +1785,7 @@ class ProjectMembership(models.Model):
synced_application = self.application
if synced_application is not None:
cur_grants = synced_application.resource_grants.all()
cur_grants = synced_application.projectresourcegrant_set.all()
for grant in cur_grants:
sub_append(QuotaLimits(
holder = holder,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment