@ -97,7 +97,7 @@ class ViewSetBase:
|
||||
|
||||
self.add_data.update({
|
||||
'organization': self.organization.id,
|
||||
'opened_by': self.view_user
|
||||
'opened_by': self.view_user.id
|
||||
})
|
||||
|
||||
|
||||
|
@ -214,7 +214,7 @@ class ViewSetBase:
|
||||
self.add_data = {
|
||||
'enabled': True,
|
||||
'organization': self.add_organization.id,
|
||||
'software': self.software_add,
|
||||
'software': self.software_add.id,
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user