Fixed bug in scope for Google

This commit is contained in:
Pablo Fernandez committed 2010-10-25 12:11:50 -03:00
1 parent 545867ca1d
commit 874e959e09
1 file changed
+1 -1
@@ -41,7 +41,7 @@ public class OAuthRequest extends Request
private String checkKey(String key)
{
if (!key.startsWith(OAUTH_PREFIX) || key.equals(OAuthConstants.SCOPE))
if (!key.startsWith(OAUTH_PREFIX) || !key.equals(OAuthConstants.SCOPE))
{
throw new IllegalArgumentException(String.format("OAuth parameters must either be %s or start with '%s'", OAuthConstants.SCOPE, OAUTH_PREFIX));
} else