Skip to content

Commit d3c1092

Browse files
committed
Fix typos
1 parent 9e55352 commit d3c1092

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed
-63 Bytes
Binary file not shown.
2.11 MB
Binary file not shown.

src/c#/GeneralUpdate.PacketTool/Services/MainService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace GeneralUpdate.PacketTool.Services
44
{
55
public class MainService
66
{
7-
public async Task PostUpgradPakcet<T>(string remoteUrl, string filePath, int clientType, string version, string clientAppKey, string md5, Action<T> reponseCallback) where T : class
7+
public async Task PostUpgradePacket<T>(string remoteUrl, string filePath, int clientType, string version, string clientAppKey, string md5, Action<T> reponseCallback) where T : class
88
{
99
if (string.IsNullOrEmpty(remoteUrl)) remoteUrl = "http://127.0.0.1:5001/upload";
1010
var parameters = new Dictionary<string, string>

src/c#/GeneralUpdate.PacketTool/ViewModels/MainViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ await DifferentialCore.Instance.Clean(SourcePath, TargetPath, PatchPath, (sender
206206
return;
207207
}
208208
var md5 = FileUtil.GetFileMD5(packetPath);
209-
await _mainService.PostUpgradPakcet<UploadReapDTO>(Url, packetPath, String2AppType(CurrnetAppType), CurrentVersion, CurrentClientAppKey, md5, async (resp) =>
209+
await _mainService.PostUpgradePacket<UploadReapDTO>(Url, packetPath, String2AppType(CurrnetAppType), CurrentVersion, CurrentClientAppKey, md5, async (resp) =>
210210
{
211211
if (resp == null)
212212
{

0 commit comments

Comments
 (0)