Explorar el Código

:construction: Added needed awaits

juan_spike
tomit4 hace 3 años
padre
commit
5655e2d301
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3
    3
      frontend/src/views/VerifyView.vue

+ 3
- 3
frontend/src/views/VerifyView.vue Ver fichero

@@ -19,9 +19,9 @@ export default {
19 19
         sessionToken = this.grabCookie('siimee_session')
20 20
         try {
21 21
             this.isHashInUrl(hash)
22
-            this.doesEmailMatch(hash)
23
-            this.doesSessionTokenExist(sessionToken)
24
-            this.isSessionTokenValid(sessionToken)
22
+            await this.doesEmailMatch(hash)
23
+            await this.doesSessionTokenExist(sessionToken)
24
+            await this.isSessionTokenValid(sessionToken)
25 25
         } catch (err) {
26 26
             console.error(err)
27 27
         }

Loading…
Cancelar
Guardar