Removing empty object paramater in MigrationsClient.DeleteArchive (#2698)

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
This commit is contained in:
gitasaurus
2023-04-14 19:33:44 -04:00
committed by GitHub
parent 5292e182e8
commit a3299ac4b4
2 changed files with 2 additions and 3 deletions

View File

@@ -177,8 +177,7 @@ namespace Octokit.Tests.Clients
client.DeleteArchive("fake", 69);
connection.Received().Delete(
Arg.Is<Uri>(u => u.ToString() == "orgs/fake/migrations/69/archive"),
Arg.Any<object>());
Arg.Is<Uri>(u => u.ToString() == "orgs/fake/migrations/69/archive"));
}
[Fact]

View File

@@ -130,7 +130,7 @@ namespace Octokit
var endpoint = ApiUrls.EnterpriseMigrationArchive(org, id);
return ApiConnection.Delete(endpoint, new object());
return ApiConnection.Delete(endpoint);
}
/// <summary>