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}
|
||||
onClick={() => {
|
||||
changeVisibility({ enable_public: repoVis === RepoVisibility.PUBLIC ? true : false })
|
||||
changeVisibility({ is_public: repoVis === RepoVisibility.PUBLIC ? true : false })
|
||||
.then(() => {
|
||||
showSuccess(getString('repoUpdate'))
|
||||
hideModal()
|
||||
|
|
Loading…
Reference in New Issue