fix: [CODE-3239] update target branch change API path (#3715)

* fix: [CODE-3239] update target branch change API path
This commit is contained in:
Ritik Kapoor 2025-04-22 14:33:07 +00:00 committed by Harness
parent 6d48117eff
commit 2f3367904a

View File

@ -57,7 +57,7 @@ export const PullRequestTitle: React.FC<PullRequestTitleProps> = ({
})
const { mutate: updateTargetBranch } = useMutate({
verb: 'PUT',
path: `/api/v1/repos/${repoMetadata.path}/+/pullreq/${number}/branch`
path: `/api/v1/repos/${repoMetadata.path}/+/pullreq/${number}/target-branch`
})
const submitChange = useCallback(() => {
const titleChanged = title !== val