Skip to content
Snippets Groups Projects
Commit b545d3f6 authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Merge branch 'dev' into 'master'

Release: Sprint/2022-03

See merge request !158
parents 12d9c23d 2408adda
No related branches found
No related tags found
1 merge request!158Release: Sprint/2022-03
using Coscine.Configuration; using Coscine.Configuration;
using Coscine.Database.DataModel; using Coscine.Database.DataModel;
using Coscine.Database.ReturnObjects; using Coscine.Database.ReturnObjects;
using Coscine.Database.Util; using Coscine.Database.Util;
...@@ -333,6 +333,10 @@ namespace Coscine.Database.Models ...@@ -333,6 +333,10 @@ namespace Coscine.Database.Models
{ {
resource.LicenseId = resourceObject.License.Id; resource.LicenseId = resourceObject.License.Id;
} }
else
{
resource.LicenseId = null;
}
// the application profile can not be altered after creation // the application profile can not be altered after creation
// resource.ApplicationProfile = resourceObject.ApplicationProfile; // resource.ApplicationProfile = resourceObject.ApplicationProfile;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment