ソースを参照

:construction: Added needed awaits

juan_spike
tomit4 3年前
コミット
5655e2d301
1個のファイルの変更3行の追加3行の削除
  1. 3
    3
      frontend/src/views/VerifyView.vue

+ 3
- 3
frontend/src/views/VerifyView.vue ファイルの表示

19
         sessionToken = this.grabCookie('siimee_session')
19
         sessionToken = this.grabCookie('siimee_session')
20
         try {
20
         try {
21
             this.isHashInUrl(hash)
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
         } catch (err) {
25
         } catch (err) {
26
             console.error(err)
26
             console.error(err)
27
         }
27
         }

読み込み中…
キャンセル
保存