mirror of
https://github.com/jrconlin/oauthsimple.git
synced 2026-09-15 02:53:57 +00:00
removed required parameters from setParameters
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ if (OAuthSimple == null)
|
||||
*/
|
||||
this.setParameters = function (parameters) {
|
||||
if (parameters == null)
|
||||
throw ('No parameters specified for OAuthSimple.setParameters');
|
||||
parameters = {};
|
||||
if (typeof(parameters) == 'string')
|
||||
parameters=this._parseParameterString(parameters);
|
||||
this._parameters = parameters;
|
||||
|
||||
Reference in New Issue
Block a user