Permalink
Browse files

fixing the build on 3.5

  • Loading branch information...
1 parent b6ebf09 commit a6ee72bf94fdf0749bb7d4d4f6a62a643ee48dd3 @ayende ayende committed Oct 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Raven.Client.Lightweight/Document/DocumentStore.cs
@@ -553,7 +553,7 @@ private HttpWebRequest PrepareOAuthRequest(string oauthSource)
authRequest.Headers["grant_type"] = "client_credentials";
authRequest.Accept = "application/json;charset=UTF-8";
- if (string.IsNullOrWhiteSpace(ApiKey))
+ if (string.IsNullOrEmpty(ApiKey))
authRequest.Headers["Api-Key"] = ApiKey;
if (oauthSource.StartsWith("https", StringComparison.InvariantCultureIgnoreCase) == false &&

0 comments on commit a6ee72b

Please sign in to comment.