mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
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:
parent
756c8d9403
commit
1a97204be3
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ namespace GreenshotPhotobucketPlugin {
|
||||||
apiUrl = apiUrl.Replace("api.photobucket.com", config.SubDomain);
|
apiUrl = apiUrl.Replace("api.photobucket.com", config.SubDomain);
|
||||||
// Add image
|
// Add image
|
||||||
parameters.Add("uploadfile", new ImageContainer(image, outputSettings, filename));
|
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) {
|
} catch (Exception ex) {
|
||||||
LOG.Error("Error uploading to Photobucket.", ex);
|
LOG.Error("Error uploading to Photobucket.", ex);
|
||||||
throw ex;
|
throw ex;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue