@@ -231,7 +231,7 @@ const getCreatorProgramUsers = async () => {
231
231
232
232
export const bakingPhaseEndingNotification = createJob (
233
233
'creator-program-banking-phase-ending' ,
234
- `0 0 L-${ EXTRACTION_PHASE_DURATION - 1 } * *` ,
234
+ `0 0 L-${ EXTRACTION_PHASE_DURATION } * *` ,
235
235
async ( ) => {
236
236
const month = dayjs ( ) . format ( 'YYYY-MM' ) ;
237
237
const users = await getCreatorProgramUsers ( ) ;
@@ -248,7 +248,7 @@ export const bakingPhaseEndingNotification = createJob(
248
248
249
249
export const extractionPhaseStartedNotification = createJob (
250
250
'creator-program-extraction-phase-started' ,
251
- `0 0 L-${ EXTRACTION_PHASE_DURATION } * *` ,
251
+ `0 0 L-${ EXTRACTION_PHASE_DURATION + 1 } * *` ,
252
252
async ( ) => {
253
253
const month = dayjs ( ) . format ( 'YYYY-MM' ) ;
254
254
const users = await getCreatorProgramUsers ( ) ;
@@ -270,7 +270,7 @@ export const extractionPhaseEndingNotification = createJob(
270
270
const users = await getCreatorProgramUsers ( ) ;
271
271
272
272
await createNotification ( {
273
- type : 'creator-program-extraction-phase-started ' ,
273
+ type : 'creator-program-extraction-phase-ending ' ,
274
274
category : NotificationCategory . Creator ,
275
275
key : `creator-program-extraction-phase-ending:${ month } ` ,
276
276
userIds : users ,
0 commit comments