mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Scraping Fixes
- Fixed bugs with scraping graphql endpoint - Added traceID to logging for jobs
This commit is contained in:
@@ -63,9 +63,9 @@ const closeNow = async (ctx, id) =>
|
||||
* @param {String} id the asset's id to scrape
|
||||
*/
|
||||
const scrapeAsset = async (ctx, id) => {
|
||||
const { services: { Scraper } } = ctx;
|
||||
const { connectors: { services: { Scraper } } } = ctx;
|
||||
|
||||
return Scraper.create({ id });
|
||||
return Scraper.create(ctx, id);
|
||||
};
|
||||
|
||||
module.exports = ctx => {
|
||||
|
||||
Reference in New Issue
Block a user