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

fix(sdk): fix the required params of the setDocument() command #17

Merged
merged 3 commits into from
Apr 10, 2024

Conversation

aloisklink
Copy link
Contributor

The setDocument() (aka PUT /rest-api/documents/{documentID}) command in the REST API now doesn't need an id param, but it does need a projectID parameter.

Since setDocument() hasn't yet been released to NPM, we don't need to yet update the CHANGELOG.md file.

This fixes the E2E tests that were failing in this repo (e.g. https://github.com/Mermaid-Chart/plugins/actions/runs/7952846469/job/22299559265).

projectID is now required for setDocument()
Test whether setDocument() throws on invalid input data.
Copy link

vercel bot commented Mar 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
office-plugin-site ⬜️ Ignored (Inspect) Visit Preview Mar 5, 2024 11:22pm

@aloisklink aloisklink merged commit e493dca into main Apr 10, 2024
4 checks passed
@aloisklink aloisklink deleted the fix/setDocument-specify-that-projectID-is-required branch April 10, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants