From c2ef2c1fe0fbdcd987579449c17fa09a188505d9 Mon Sep 17 00:00:00 2001 From: SalleeMatthew <132789789+SalleeMatthew@users.noreply.github.com> Date: Wed, 14 Aug 2024 08:23:55 -0500 Subject: [PATCH] Update Chat.vue Added async and await to joinedchat function --- spa/src/components/Chat.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spa/src/components/Chat.vue b/spa/src/components/Chat.vue index 04e77a39..1b9720ba 100644 --- a/spa/src/components/Chat.vue +++ b/spa/src/components/Chat.vue @@ -663,12 +663,12 @@ export default Vue.extend({ } }, - joinedChat(): void { + async joinedChat() { let userIs3D = 0; if(this.$store.data.view3d){ userIs3D = 1; } - this.$http.post('/member/joined', { + await this.$http.post('/member/joined', { place_id: this.$store.data.place.id, is_3d: userIs3D })