fix: [ritik/code-1773] api payload update

devspace-test
Ritik Kapoor 2024-05-12 20:12:31 +05:30
parent 0cabe0516f
commit bd9a94a125
1 changed files with 1 additions and 1 deletions

View File

@ -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()