瀏覽代碼

:pencil2: Fixed merge issues

tags/0.0.4
tomit4 2 年之前
父節點
當前提交
c4cc1ff85a
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. 1
    0
      frontend/src/entities/profile/profile.js
  2. 2
    3
      frontend/src/views/OnboardingView.vue

+ 1
- 0
frontend/src/entities/profile/profile.js 查看文件

@@ -28,6 +28,7 @@ class Profile extends _baseRecord {
28 28
      * @return {boolean} is it valid or not?
29 29
      */
30 30
     isValid() {
31
+        console.log('this :=>', this)
31 32
         const validate = profileSchema.validate(this)
32 33
 
33 34
         /**

+ 2
- 3
frontend/src/views/OnboardingView.vue 查看文件

@@ -99,9 +99,8 @@ export default {
99 99
         async verifySession(hashedAccessToken) {
100 100
             if (!hashedAccessToken)
101 101
                 return console.warn('WARNING :=> accessToken is not defined')
102
-            const validatedToken = await authenticator.validateSession(
103
-                hashedAccessToken,
104
-            )
102
+            const validatedToken =
103
+                await authenticator.validateSession(hashedAccessToken)
105 104
             if (validatedToken.error) {
106 105
                 throw new Error(validatedToken.error)
107 106
             } else {

Loading…
取消
儲存