소스 검색

now real uids are used correctly - fix

Flavionel 5 년 전
부모
커밋
8cf65711ce
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      resources/js/components/pages/ClientEntrance.vue

+ 3 - 3
resources/js/components/pages/ClientEntrance.vue

@@ -230,7 +230,7 @@ export default {
 
                     this.$socket.emit("userData", {
                         user: {
-                            uid: "someuid",
+                            uid: this.clientUid,
                             name: `${this.firstName} ${this.lastName}`,
                             type: "STRANGER"
                         },
@@ -326,7 +326,7 @@ export default {
                         user: {
                             name: `${this.firstName} ${this.lastName}`,
                             type: 'STRANGER',
-                            uid: 'someuid' //TODO:
+                            uid: this.clientUid
                         }
                     })
             })
@@ -642,7 +642,7 @@ export default {
 
             this.$socket.emit("userData", {
                 user: {
-                    uid: "someuid",
+                    uid: this.clientUid,
                     name: `${this.firstName} ${this.lastName}`,
                     type: "STRANGER"
                 },