Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Fixes -#251 Test pushing to SAHRE using V2 API.
Browse files Browse the repository at this point in the history
  • Loading branch information
hweng committed Jan 5, 2018
1 parent 05365de commit 8189fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/dams_resource_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ def share_upload(document)
}
@route = "#{share_config.fetch('host')}api/v2/normalizeddata/"
@body = ShareNotify::Graph.new(document).to_share_v2.to_json
binding.pry

@response = with_timeout { HTTParty.post(@route, body: @body, headers: @headers)}
binding.pry

end

def share_config
Expand Down

0 comments on commit 8189fad

Please sign in to comment.