Skip to content

Commit

Permalink
Pass package into submit_scan #124
Browse files Browse the repository at this point in the history
Signed-off-by: Jono Yang <jyang@nexb.com>
  • Loading branch information
JonoYang committed Jul 26, 2023
1 parent 9b5a9dc commit 70e342b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions minecode/management/commands/request_scans.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def process_scan(cls, scannable_uri, options, response_save_loc='', **kwargs):
cls.logger.info('Requesting scan from ScanCode.io for URI: "{uri}"'.format(**locals()))
scan = scanning.submit_scan(
uri,
scannable_uri.package,
api_url=cls.api_url,
api_auth_headers=cls.api_auth_headers,
response_save_loc=response_save_loc
Expand Down

0 comments on commit 70e342b

Please sign in to comment.