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 {
7272 async findMany < TSelect extends Prisma . TaskEventSelect > (
7373 table : TaskEventStoreTable ,
7474 where : Prisma . TaskEventWhereInput ,
75- startCreatedAt ? : Date ,
75+ startCreatedAt : Date ,
7676 endCreatedAt ?: Date ,
7777 select ?: TSelect ,
7878 orderBy ?: Prisma . TaskEventOrderByWithRelationInput
7979 ) : Promise < Prisma . TaskEventGetPayload < { select : TSelect } > [ ] > {
8080 let finalWhere : Prisma . TaskEventWhereInput = where ;
8181
82- if ( table === "taskEventPartitioned" && startCreatedAt ) {
82+ if ( table === "taskEventPartitioned" ) {
8383 // Add 1 minute to endCreatedAt to make sure we include all events in the range.
8484 const end = endCreatedAt
8585 ? new Date ( endCreatedAt . getTime ( ) + env . TASK_EVENT_PARTITIONED_WINDOW_IN_SECONDS * 1000 )
You can’t perform that action at this time.
0 commit comments