Skip to content

Commit 5c43788

Browse files
committed
fix(work_log): findWorkLogsByDate 반환 타입 nullable 처리
1 parent 41ac3c8 commit 5c43788

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/repository/work_log_repository.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ class WorkLogRepository {
102102
{
103103
user_work_log_id: Uint8Array;
104104
user_id: Uint8Array;
105-
alba_id: Uint8Array;
105+
alba_id: Uint8Array | null;
106+
user_alba_schedule_id: Uint8Array | null;
106107
work_date: Date | null;
107108
start_time: Date | null;
108109
end_time: Date | null;
@@ -113,7 +114,7 @@ class WorkLogRepository {
113114
store: {
114115
store_name: string | null;
115116
};
116-
};
117+
} | null;
117118
}[]
118119
> {
119120
// 날짜 범위 설정 (해당 날짜의 00:00:00 ~ 23:59:59)

0 commit comments

Comments
 (0)