fix(repository): properly pass requested argument to getRepositoryBranches
+ 2
- 2
app/services/repository/getRepositoryRemoteRefDiff.ts
@@ -35,7 +35,7 @@ const makeGetRepositoryRemoteRefDiff: ServiceMethodFactory<
       );
     }
 
-    const sourceBranches = await getRepositoryBranches(sourceRepo);
+    const sourceBranches = await getRepositoryBranches(sourceRepo, true);
 
     if (
       sourceBranches.length <= 0 ||

...
@@ -67,7 +67,7 @@ const makeGetRepositoryRemoteRefDiff: ServiceMethodFactory<
       );
     }
 
-    const targetBranches = await getRepositoryBranches(targetRepo);
+    const targetBranches = await getRepositoryBranches(targetRepo, true);
 
     if (
       targetBranches.length <= 0 ||