Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit b49d64d

Browse files
Fixing call to ForkRepository
1 parent 2413d75 commit b49d64d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/GitHub.App/ViewModels/Dialog/ForkRepositoryExecuteViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ IObservable<Repository> OnCreateFork(object o)
8686
Organization = !DestinationAccount.IsUser ? DestinationAccount.Login : null
8787
};
8888

89-
IRepositoryModel sourceRepository = SourceRepository;
90-
return repositoryForkService.ForkRepository(apiClient, sourceRepository, newRepositoryFork, ResetMasterTracking, AddUpstream, UpdateOrigin)
89+
return repositoryForkService.ForkRepository(apiClient, SourceRepository, newRepositoryFork, UpdateOrigin, AddUpstream, ResetMasterTracking)
9190
.Catch<Repository, Exception>(ex =>
9291
{
9392
if (!ex.IsCriticalException())

0 commit comments

Comments
 (0)