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

Doc: Updated callback method for Model.findOne() #13096

Merged
merged 2 commits into from Mar 1, 2023

Conversation

Arghyahub
Copy link
Contributor

The official documentation was not updated, it shows that Model.findOne() uses callback, which is not accepted now.
The Change updates the document with updated method for Model.findOne().

fixes #13095

lib/model.js Show resolved Hide resolved
Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@vkarpov15 vkarpov15 added this to the 6.10.1 milestone Mar 1, 2023
@vkarpov15 vkarpov15 merged commit 876a03d into Automattic:master Mar 1, 2023
@vkarpov15 vkarpov15 modified the milestones: 6.10.1, 7.0.1 Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants