|
@@ -15,8 +15,7 @@ class OrdersSerializer(serializers.ModelSerializer):
|
|
|
|
|
|
def create(self, validated_data):
|
|
|
ModelClass = self.Meta.model
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
|
|
|
if "ticket" not in validated_data:
|
|
|
# Create ticket with minimal required data
|
|
@@ -107,9 +106,6 @@ class OrdersSerializer(serializers.ModelSerializer):
|
|
|
"jid": WEBSERVICE_NAME + "_backend@" + EJ_HOST,
|
|
|
"affiliation": "owner"
|
|
|
}
|
|
|
- #
|
|
|
- # REQUIRES TO BE TESTED, RESULTS OF THIS WERE NOT CONFIRMED TO BE CORRECT
|
|
|
- #
|
|
|
# Add all neccessary member to the room
|
|
|
for member in room_members:
|
|
|
data["jid"] = members_accounts[member][0]
|