Skip to content

Commit

Permalink
Fix issue with ingesting URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
sensei100 committed Jan 27, 2023
1 parent c07743a commit 4dd1c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exe/cob_index
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class App
c.desc "Ingest files into SOLR_URL using tul_cob traject config"
c.action do |global_options, options, args|
opts = {}
marc_xml = open(ARGV[0]).read
marc_xml = URI.open(ARGV[0]).read
opts.merge!(commit: options[:commit], marc_xml: marc_xml)

CobIndex::CLI.ingest(**opts)
Expand Down

0 comments on commit 4dd1c30

Please sign in to comment.