File tree 1 file changed +4
-5
lines changed
apps/web/app/api/cron/import/bitly
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export const importLinksFromBitly = async ({
69
69
domains,
70
70
folderId,
71
71
tagsToId,
72
- nextSearchAfter : searchAfter ,
72
+ searchAfter,
73
73
count,
74
74
rateLimited : true ,
75
75
} ) ;
@@ -278,7 +278,7 @@ export const importLinksFromBitly = async ({
278
278
domains,
279
279
folderId,
280
280
tagsToId,
281
- nextSearchAfter,
281
+ searchAfter : nextSearchAfter ,
282
282
count,
283
283
} ) ;
284
284
}
@@ -292,19 +292,18 @@ export const queueBitlyImport = async (payload: {
292
292
domains : string [ ] ;
293
293
folderId ?: string ;
294
294
tagsToId ?: Record < string , string > ;
295
- nextSearchAfter ?: string | null ;
295
+ searchAfter ?: string | null ;
296
296
count ?: number ;
297
297
rateLimited ?: boolean ;
298
298
delay ?: number ;
299
299
} ) => {
300
- const { tagsToId, nextSearchAfter , delay, ...rest } = payload ;
300
+ const { tagsToId, delay, ...rest } = payload ;
301
301
302
302
return await qstash . publishJSON ( {
303
303
url : `${ APP_DOMAIN_WITH_NGROK } /api/cron/import/bitly` ,
304
304
body : {
305
305
...rest ,
306
306
importTags : tagsToId ? true : false ,
307
- searchAfter : nextSearchAfter ,
308
307
} ,
309
308
...( delay && { delay } ) ,
310
309
} ) ;
You can’t perform that action at this time.
0 commit comments