Skip to content

Let patch_project make a project private - #120

Merged
suricactus merged 1 commit into
masterfrom
fix-is-public-bug
Oct 19, 2026
Merged

suricactus merged 1 commit into
masterfrom
fix-is-public-bug

Conversation

@manylon

@manylon manylon commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Client.patch_project only sent is_public when it was truthy. It dropped False, and the CLI's --is-no-public with it, so the project stayed public.

This PR fixes this!

`Client.patch_project` only sent `is_public` when it was truthy. It
dropped `False`, and the CLI's `--is-no-public` with it, so the
project stayed public.

- send `is_public` whenever it is not `None` in `Client.patch_project`
- default `--is-public/--is-no-public` on `patch-project` to `None`,
  so a patch without either flag leaves `is_public` unchanged

@suricactus suricactus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@suricactus
suricactus merged commit 5ed9178 into master Oct 19, 2026
9 checks passed
@suricactus
suricactus deleted the fix-is-public-bug branch October 19, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants