File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ const sendSavePageMutation = async (userId, input) => {
272
272
}
273
273
}` ,
274
274
variables : {
275
- input : Object . assign ( { } , input , { source : 'puppeteer-parse' } ) ,
275
+ input,
276
276
} ,
277
277
} ) ;
278
278
@@ -341,7 +341,7 @@ async function fetchContent(req, res) {
341
341
const articleSavingRequestId = ( req . query ? req . query . saveRequestId : undefined ) || ( req . body ? req . body . saveRequestId : undefined ) ;
342
342
const state = req . body . state
343
343
const labels = req . body . labels
344
- const source = req . body . source || 'parseContent ' ;
344
+ const source = req . body . source || 'puppeteer-parse ' ;
345
345
const taskId = req . body . taskId ; // taskId is used to update import status
346
346
const urlStr = ( req . query ? req . query . url : undefined ) || ( req . body ? req . body . url : undefined ) ;
347
347
const locale = ( req . query ? req . query . locale : undefined ) || ( req . body ? req . body . locale : undefined ) ;
@@ -473,6 +473,7 @@ async function fetchContent(req, res) {
473
473
rssFeedUrl,
474
474
savedAt,
475
475
publishedAt,
476
+ source,
476
477
} ) ;
477
478
if ( ! apiResponse ) {
478
479
logRecord . error = 'error while saving page' ;
You can’t perform that action at this time.
0 commit comments