Scraping Fixes

- Fixed bugs with scraping graphql endpoint
- Added traceID to logging for jobs
This commit is contained in:
Wyatt Johnson
2018-03-07 15:30:34 -07:00
parent 98facd1019
commit 435067f619
7 changed files with 27 additions and 30 deletions
+2 -2
View File
@@ -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 => {