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

Add userUpdated hook #37

Merged
merged 3 commits into from
Aug 25, 2020
Merged

Add userUpdated hook #37

merged 3 commits into from
Aug 25, 2020

Conversation

stafyniaksacha
Copy link
Contributor

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Added userUpdated hook emitted each time internal user is updated

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

@stafyniaksacha stafyniaksacha changed the title Add userUpdated hook Add userUpdated hook Aug 20, 2020
@codecov
Copy link

codecov bot commented Aug 20, 2020

Codecov Report

Merging #37 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           13        13           
  Branches         3         3           
=========================================
  Hits            13        13           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5436a58...ac90cd9. Read the comment docs.

@benjamincanac
Copy link
Member

@stafyniaksacha You shouldn't need this anymore, a v0.1.5 has been released with #34.

@stafyniaksacha
Copy link
Contributor Author

stafyniaksacha commented Aug 21, 2020

@stafyniaksacha You shouldn't need this anymore, a v0.1.5 has been released with #34.

@benjamincanac Unfortunately no, we can not register watch functions for strapi user changes even with this update (in components and/or plugins).
So for now we can't perform actions when a user state has changed.

@benjamincanac benjamincanac merged commit 83eb2e6 into nuxt-modules:master Aug 25, 2020
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