File tree 2 files changed +1
-13
lines changed
2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ services:
50
50
- NUM_WORKERS_PER_QUEUE=${NUM_WORKERS_PER_QUEUE}
51
51
- BULL_AUTH_KEY=${BULL_AUTH_KEY}
52
52
- TEST_API_KEY=${TEST_API_KEY}
53
- - SCRAPING_BEE_API_KEY=${SCRAPING_BEE_API_KEY}
54
53
- HOST=${HOST:-0.0.0.0}
55
54
- LOGGING_LEVEL=${LOGGING_LEVEL}
56
55
extra_hosts :
Original file line number Diff line number Diff line change @@ -462,18 +462,7 @@ pub async fn get_crawl_by_scrape_id_query(
462
462
. await
463
463
. map_err ( |e| ServiceError :: InternalServerError ( e. to_string ( ) ) ) ?;
464
464
let request: CrawlRequestPG = crawl_requests_table:: crawl_requests
465
- . select ( (
466
- crawl_requests_table:: id,
467
- crawl_requests_table:: url,
468
- crawl_requests_table:: status,
469
- crawl_requests_table:: crawl_type,
470
- crawl_requests_table:: next_crawl_at,
471
- crawl_requests_table:: interval,
472
- crawl_requests_table:: crawl_options,
473
- crawl_requests_table:: scrape_id,
474
- crawl_requests_table:: dataset_id,
475
- crawl_requests_table:: created_at,
476
- ) )
465
+ . select ( CrawlRequestPG :: as_select ( ) )
477
466
. filter ( crawl_requests_table:: scrape_id. eq ( scrape_id) )
478
467
. first ( & mut conn)
479
468
. await
You can’t perform that action at this time.
0 commit comments