mirror of https://github.com/harness/drone.git
fix: [ritik/code-1773] api payload update
parent
0cabe0516f
commit
bd9a94a125
|
@ -157,7 +157,7 @@ const GeneralSettingsContent = (props: GeneralSettingsProps) => {
|
||||||
}
|
}
|
||||||
variation={ButtonVariation.PRIMARY}
|
variation={ButtonVariation.PRIMARY}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
changeVisibility({ enable_public: repoVis === RepoVisibility.PUBLIC ? true : false })
|
changeVisibility({ is_public: repoVis === RepoVisibility.PUBLIC ? true : false })
|
||||||
.then(() => {
|
.then(() => {
|
||||||
showSuccess(getString('repoUpdate'))
|
showSuccess(getString('repoUpdate'))
|
||||||
hideModal()
|
hideModal()
|
||||||
|
|
Loading…
Reference in New Issue