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

feat: add options parameter to controller functions containing a query #753

Draft
wants to merge 3 commits into
base: 7-dev
Choose a base branch
from

Conversation

cyrng
Copy link

@cyrng cyrng commented Oct 16, 2024

What does this PR do ?

This PR add missing options parameter to controller methods that include a query so the option allows to use trigger event.

How should this be manually tested?

  • Step 1 :
  • Step 2 :
  • Step 3 :

Other changes

Boyscout

@cyrng cyrng self-assigned this Oct 16, 2024
@@ -505,7 +510,7 @@ export class AuthController extends BaseController {
{
action: "logout",
cookieAuth: this.kuzzle.cookieAuthentication,
...options
...options,
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure you expands the options in the right object?

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