Fix localStorage number of args in oauth

This commit is contained in:
Tom MacWright
2013-02-01 13:17:19 -05:00
parent 031c8d655e
commit 175cdc553d

View File

@@ -13,8 +13,8 @@ iD.OAuth = function(context) {
}
// token getter/setter, namespaced to the current `apibase` value.
function token(k, x) {
return context.storage(keyclean(baseurl) + k, x);
function token() {
return context.storage.apply(context, arguments);
}
if (token('oauth_token')) {