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

WPRequest 'update' method defined as private #513

Open
dkuratowski opened this issue Jun 3, 2023 · 0 comments
Open

WPRequest 'update' method defined as private #513

dkuratowski opened this issue Jun 3, 2023 · 0 comments

Comments

@dkuratowski
Copy link

wpapi.url(url).update(data) gives me the following typescript error:
Property 'update' is private and only accessible within class 'WPRequest'.

All other HTTP Methods are declared as public so I guess that this is only a typo.

The problematic line:

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

No branches or pull requests

1 participant