sharing: code cosmetics
This commit is contained in:
@@ -1324,8 +1324,9 @@ class BaseSharing:
|
|||||||
User=User,
|
User=User,
|
||||||
Timestamp=Timestamp,
|
Timestamp=Timestamp,
|
||||||
Properties=Properties,
|
Properties=Properties,
|
||||||
|
Conversion=Conversion,
|
||||||
Actions=Actions,
|
Actions=Actions,
|
||||||
Conversion=Conversion)
|
)
|
||||||
else:
|
else:
|
||||||
result = self.database_update_sharing(
|
result = self.database_update_sharing(
|
||||||
ShareType=ShareType,
|
ShareType=ShareType,
|
||||||
@@ -1338,8 +1339,9 @@ class BaseSharing:
|
|||||||
User=User,
|
User=User,
|
||||||
Timestamp=Timestamp,
|
Timestamp=Timestamp,
|
||||||
Properties=Properties,
|
Properties=Properties,
|
||||||
|
Conversion=Conversion,
|
||||||
Actions=Actions,
|
Actions=Actions,
|
||||||
Conversion=Conversion)
|
)
|
||||||
|
|
||||||
elif user == share['User']:
|
elif user == share['User']:
|
||||||
# User is only allowed to update Properties
|
# User is only allowed to update Properties
|
||||||
|
|||||||
Reference in New Issue
Block a user