Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bqqbarbhg committed Feb 19, 2016
1 parent 1db32da commit 8d1a1c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/controllers/videos_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,12 @@ def destroy

# Delete the video data
manifest = @video.read_manifest
deleteUrl = manifest["deleteUrl"]
deleteUrl = manifest["deleteUri"]
if deleteUrl.present?
Faraday.delete(deleteUrl) do |req|
response = Faraday.delete(deleteUrl) do |req|
req.headers['Authorization'] = "Bearer #{current_user.bearer_token}"
end
Rails.logger.debug "DELETE #{deleteUrl} -> #{response.status}"
end

# SSS_Support(delete video)
Expand Down

0 comments on commit 8d1a1c2

Please sign in to comment.