mirror of
https://github.com/harness/drone.git
synced 2025-05-05 15:32:56 +00:00
fix: [CODE-3239] update target branch change API path (#3715)
* fix: [CODE-3239] update target branch change API path
This commit is contained in:
parent
6d48117eff
commit
2f3367904a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user