mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
fixed #1071: Account ID should be long now because of Imgur ID changes
This commit is contained in:
parent
b8418230b9
commit
22863b99e8
3 changed files with 5 additions and 8 deletions
|
@ -230,7 +230,6 @@ public override UploadResult Upload(Stream stream, string fileName)
|
|||
result.URL = "http://imgur.com/" + imageData.id;
|
||||
}
|
||||
|
||||
int index = result.URL.LastIndexOf('.');
|
||||
string thumbnail = string.Empty;
|
||||
|
||||
switch (ThumbnailType)
|
||||
|
@ -319,8 +318,6 @@ public class ImgurImageData
|
|||
public bool favorite { get; set; }
|
||||
public bool? nsfw { get; set; }
|
||||
public string vote { get; set; }
|
||||
public string account_url { get; set; }
|
||||
public int? account_id { get; set; }
|
||||
public string comment_preview { get; set; }
|
||||
}
|
||||
|
||||
|
@ -334,7 +331,7 @@ public class ImgurAlbumData
|
|||
public string cover_width { get; set; }
|
||||
public string cover_height { get; set; }
|
||||
public string account_url { get; set; }
|
||||
public int? account_id { get; set; }
|
||||
public long? account_id { get; set; }
|
||||
public string privacy { get; set; }
|
||||
public string layout { get; set; }
|
||||
public int views { get; set; }
|
||||
|
|
|
@ -79,11 +79,11 @@
|
|||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="AWSSDK.Core, Version=3.1.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AWSSDK.Core.3.1.1.1\lib\net35\AWSSDK.Core.dll</HintPath>
|
||||
<HintPath>..\packages\AWSSDK.Core.3.1.3.1\lib\net35\AWSSDK.Core.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="AWSSDK.S3, Version=3.1.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AWSSDK.S3.3.1.3.0\lib\net35\AWSSDK.S3.dll</HintPath>
|
||||
<HintPath>..\packages\AWSSDK.S3.3.1.3.1\lib\net35\AWSSDK.S3.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MegaApiClient, Version=1.1.1.44, Culture=neutral, PublicKeyToken=0480d311efbeb4e2, processorArchitecture=MSIL">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="AWSSDK.Core" version="3.1.1.1" targetFramework="net4" />
|
||||
<package id="AWSSDK.S3" version="3.1.3.0" targetFramework="net4" />
|
||||
<package id="AWSSDK.Core" version="3.1.3.1" targetFramework="net4" />
|
||||
<package id="AWSSDK.S3" version="3.1.3.1" targetFramework="net4" />
|
||||
<package id="MegaApiClient" version="1.1.1" targetFramework="net4" />
|
||||
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net4" />
|
||||
<package id="SSH.NET" version="2014.4.6-beta2" targetFramework="net4" />
|
||||
|
|
Loading…
Reference in a new issue