Permalink
Browse files

json情報に:nameを含める

  • Loading branch information...
1 parent 3f2f9d8 commit 69415138cb2d7163e1419b06c0663866f2c939b0 @tumf committed Apr 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dropbox-folder-sync/app.rb
@@ -22,7 +22,7 @@ def json name
req_secret = Keystorage.get("DROPBOX_APP_"+APP_KEY+"_REQ_SECRET",name)
key = Keystorage.get("DROPBOX_APP_"+APP_KEY+"_USER_KEY",name)
secret = Keystorage.get("DROPBOX_APP_"+APP_KEY+"_USER_SECRET",name)
- h = {:req_key =>req_key, :req_secret =>req_secret, :key =>key, :secret =>secret}
+ h = {:name => name, :req_key =>req_key, :req_secret =>req_secret, :key =>key, :secret =>secret}
puts h.to_json
end

0 comments on commit 6941513

Please sign in to comment.