Fix for refactoring of the OAuth implementation.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2136 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-10-10 19:01:39 +00:00
commit 1a97204be3

View file

@ -97,7 +97,7 @@ namespace GreenshotPhotobucketPlugin {
apiUrl = apiUrl.Replace("api.photobucket.com", config.SubDomain);
// Add image
parameters.Add("uploadfile", new ImageContainer(image, outputSettings, filename));
responseString = oAuth.MakeRequest(HTTPMethod.POST, apiUrl, parameters, null, null);
responseString = oAuth.MakeRequest(HTTPMethod.POST, apiUrl, parameters, null);
} catch (Exception ex) {
LOG.Error("Error uploading to Photobucket.", ex);
throw ex;