Skip to content

Commit 82641f6

Browse files
authored
๐Ÿฉน make previous data href nullable to fix dashboard (#109)
1 parent 0ea15c7 commit 82641f6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

โ€Žsrc/entities/Waffle.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ export type Log = {
44
from: SlackID;
55
to: SlackID;
66
count: number;
7-
href: string;
7+
href: string | null;
88
date: Date;
99
};

โ€Žsrc/infrastructures/implementMongoAtlasWaffleRepository.tsโ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const implementMongoAtlasWaffleRepository = ({
2626
from: z.string(),
2727
to: z.string(),
2828
count: z.number(),
29-
href: z.string(),
29+
href: z.string().nullable(),
3030
date: z.date(),
3131
});
3232
return {
@@ -41,7 +41,7 @@ export const implementMongoAtlasWaffleRepository = ({
4141
from: z.string(),
4242
to: z.string(),
4343
count: z.number(),
44-
href: z.string(),
44+
href: z.string().nullable(),
4545
date: z.date(),
4646
});
4747
return {

0 commit comments

Comments
ย (0)