File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,10 +80,10 @@ export class TestVariationsService {
8080 * @returns
8181 */
8282 async find (
83- createTestRequestDto : BaselineDataDto & { projectId : string ; baselineBranchName ?: string }
83+ createTestRequestDto : BaselineDataDto & { projectId : string ; sourceBranch ?: string }
8484 ) : Promise < TestVariation | null > {
8585 const project = await this . prismaService . project . findUnique ( { where : { id : createTestRequestDto . projectId } } ) ;
86- const baselineBranchName = createTestRequestDto . baselineBranchName ?? project . mainBranchName ;
86+ const baselineBranchName = createTestRequestDto . sourceBranch ?? project . mainBranchName ;
8787
8888 const [ baselineBranchTestVariation , currentBranchTestVariation ] = await Promise . all ( [
8989 // search main branch variation
You can’t perform that action at this time.
0 commit comments