Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
方峦 authored and 方峦 committed Aug 1, 2017
1 parent f4e3ad1 commit d42b389
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/junziqian/tool/request_tool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def contactValues(query_params, ignores = [], content_type = 'application/x-www-
req_array.sort.each do |array_item|
contactStr << array_item[0]
if array_item[1]
contactStr << (array_item[1].is_a?(Junziqian::Tool::AttacheUtils) ? array_item[1].value : array_item[1].strip)
contactStr << (array_item[1].is_a?(Junziqian::Tool::AttacheUtils) ? array_item[1].value : array_item[1].to_s.strip)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/junziqian/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Junziqian
VERSION = "0.1.1"
VERSION = "0.1.2"
end

0 comments on commit d42b389

Please sign in to comment.