Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File is mandatory in update #34

Merged
merged 1 commit into from
Jan 20, 2025
Merged

File is mandatory in update #34

merged 1 commit into from
Jan 20, 2025

Conversation

tagliala
Copy link
Member

Blame does not help, the content check was there from the beginning.

It is possible that a certain point in the past it was possible to update the title with update_document, but now there is a dedicated action and this action will raise a

Colore::Errors::ClientError: Invalid parameter file

if a user attempts to update a file without the content

The `content` check has always been present, but the `file` parameter
is now mandatory. In the past, updating the title with `update_document`
was possible, but now a dedicated action exists.

Attempting to update a file without `content` raises:

```
Colore::Errors::ClientError: Invalid parameter file
```
@tagliala tagliala force-pushed the chore/improve-update branch from e35e46e to 41efdf7 Compare January 20, 2025 18:56
@tagliala tagliala merged commit d6766c5 into master Jan 20, 2025
7 checks passed
@tagliala tagliala deleted the chore/improve-update branch January 20, 2025 18:57
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.

1 participant