stream day 6
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<script lang="ts">
|
||||
import { NuxtLink } from '~/.nuxt/components';
|
||||
import { useGlobalStore } from '~/stores/store'
|
||||
import { IUser } from '~/types';
|
||||
import { SafeUser } from '~/types';
|
||||
|
||||
definePageMeta({
|
||||
layout: 'clean'
|
||||
@@ -55,7 +55,7 @@ export default {
|
||||
email: this.email,
|
||||
password: this.password
|
||||
}
|
||||
}) as { userId: string; token: string; user: IUser; }
|
||||
}) as { userId: string; token: string; user: SafeUser; }
|
||||
|
||||
const userId = useCookie('userId')
|
||||
userId.value = user.userId
|
||||
|
||||
Reference in New Issue
Block a user