File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,14 +72,14 @@ export class TaskEventStore {
72
72
async findMany < TSelect extends Prisma . TaskEventSelect > (
73
73
table : TaskEventStoreTable ,
74
74
where : Prisma . TaskEventWhereInput ,
75
- startCreatedAt ? : Date ,
75
+ startCreatedAt : Date ,
76
76
endCreatedAt ?: Date ,
77
77
select ?: TSelect ,
78
78
orderBy ?: Prisma . TaskEventOrderByWithRelationInput
79
79
) : Promise < Prisma . TaskEventGetPayload < { select : TSelect } > [ ] > {
80
80
let finalWhere : Prisma . TaskEventWhereInput = where ;
81
81
82
- if ( table === "taskEventPartitioned" && startCreatedAt ) {
82
+ if ( table === "taskEventPartitioned" ) {
83
83
// Add 1 minute to endCreatedAt to make sure we include all events in the range.
84
84
const end = endCreatedAt
85
85
? new Date ( endCreatedAt . getTime ( ) + env . TASK_EVENT_PARTITIONED_WINDOW_IN_SECONDS * 1000 )
You can’t perform that action at this time.
0 commit comments