lib/lolcommits/plugin/protonet.rb in lolcommits-protonet-0.2.0 vs lib/lolcommits/plugin/protonet.rb in lolcommits-protonet-0.3.0
- old
+ new
@@ -43,10 +43,10 @@
def run_capture_ready
debug "Posting image (and message) to #{configuration[:api_endpoint]}"
RestClient.post(
configuration[:api_endpoint],
{
- files: [File.new(runner.main_image)],
+ files: [File.new(runner.lolcommit_path)],
message: message
},
'X-Protonet-Token' => configuration[:api_token]
)
rescue => e