fix auth
This commit is contained in:
@@ -42,12 +42,13 @@ const logout = () => {
|
||||
success: () => {
|
||||
return 'Logout Sucessfull '
|
||||
},
|
||||
error: (data) => `[API] Error saving game - ${data?.response?.data?.message}`,
|
||||
error: (data) => `[API] Error - ${data?.response?.data?.message}`,
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
onMounted(async () => {
|
||||
await authStore.restoreSession()
|
||||
socketStore.handleConnection()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user