Skip to content

Commit

Permalink
Update Chat.vue
Browse files Browse the repository at this point in the history
Added async and await to joinedchat function
  • Loading branch information
SalleeMatthew authored and smile0711 committed Aug 27, 2024
1 parent 18c35ad commit c2ef2c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spa/src/components/Chat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit c2ef2c1

Please sign in to comment.