Skip to content
Snippets Groups Projects

Hotfix/1433 default quota

2 files
+ 6
1
Compare changes
  • Side-by-side
  • Inline

Files

@@ -359,6 +359,11 @@ namespace Coscine.Api.Project.Controllers
return NotFound($"Could not find resourceType with id: {resourceTypeId}");
}
if (resourceType.DisplayName.Equals("rdss3"))
{
return BadRequest($"Cannot adjust quota for rdss3.");
}
if (updateProjectQuotaObject.Allocated < 0)
{
return BadRequest($"Allocated {updateProjectQuotaObject.Allocated}. Cannot be less than 0.");
Loading