Skip to content

Commit

Permalink
Squashed into single commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Vidyuth Dandu authored and spidergears committed May 8, 2018
1 parent 7caeed2 commit 468c455
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/delhivery/services/package_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def edit(params)
end

def cancel(*waybill_numbers)
connection.post(edit_path, {waybill: waybill_numbers.join(','), cancellation: true})
connection.post(edit_path, {waybill: waybill_numbers.join(','), cancellation: "true"})
end

private
Expand All @@ -32,7 +32,7 @@ def track_path
end

def edit_path
"/api/p/edit/"
"/api/p/edit"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/delhivery/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Delhivery
VERSION = "0.1.0"
VERSION = "0.1.1"
end

0 comments on commit 468c455

Please sign in to comment.