diff --git a/src/interface/response/Main.ts b/src/interface/response/Main.ts index 24b76cd..b3a1426 100644 --- a/src/interface/response/Main.ts +++ b/src/interface/response/Main.ts @@ -7,6 +7,7 @@ interface Noti { isOpen: false receiveDate: Date | null openDate: null + createdFullName: string } export type { Noti } diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index a3cae5e..a7b442c 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -55,7 +55,7 @@ async function fetchNotifications() { .then((res) => { const response = res.data.result const list: notiType[] = [] - response.map((e: Noti) => { + response.map((e: any) => { list.push({ id: e.id, sender: