Commit d231622c authored by Hanna Führ's avatar Hanna Führ
Browse files

Update: Allowing to set resource license to null again (coscine/issues#1913)

parent 12d9c23d
......@@ -333,6 +333,8 @@ namespace Coscine.Database.Models
{
resource.LicenseId = resourceObject.License.Id;
}
else
resource.LicenseId = null;
// the application profile can not be altered after creation
// resource.ApplicationProfile = resourceObject.ApplicationProfile;
......
Supports Markdown
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