Permalink
Browse files

convert argument values to strings

  • Loading branch information...
1 parent fc88a21 commit 6f5ab743aa90e98b37f53e65f8ddad781d266456 @cwarden cwarden committed Aug 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/OAuth.lua
View
@@ -102,7 +102,7 @@ function Sign(self, httpMethod, baseUri, arguments, oauth_token_secret, authReal
for key, val in pairs(arguments) do
table.insert(keys_and_values, {
key = oauth_encode(key),
- val = oauth_encode(val)
+ val = oauth_encode(tostring(val))
})
end

0 comments on commit 6f5ab74

Please sign in to comment.