|
@@ -96,7 +96,7 @@ class OrdersSerializer(serializers.ModelSerializer):
|
|
|
owner > admin
|
|
|
"""
|
|
|
members_accounts = {
|
|
|
- "owner": ("sports_backend@" + EJ_HOST, "owner"),
|
|
|
+ "owner": (WEBSERVICE_NAME + "_backend@" + EJ_HOST, "owner"),
|
|
|
"client": (client, "member"),
|
|
|
"support": (support, "member"),
|
|
|
"provider": (provider, "member"),
|
|
@@ -104,7 +104,7 @@ class OrdersSerializer(serializers.ModelSerializer):
|
|
|
data = {
|
|
|
"name": room_name,
|
|
|
"service": EJ_SERVICE,
|
|
|
- "jid": "sports_backend@" + EJ_HOST,
|
|
|
+ "jid": WEBSERVICE_NAME + "_backend@" + EJ_HOST,
|
|
|
"affiliation": "owner"
|
|
|
}
|
|
|
#
|