Skip to content

fix: aliases AfterMe, AfterLogout, and AfterRefresh hook types#7146

Merged
jacobsfletch merged 5 commits into
payloadcms:mainfrom
itzaks:main
Jul 18, 2024
Merged

fix: aliases AfterMe, AfterLogout, and AfterRefresh hook types#7146
jacobsfletch merged 5 commits into
payloadcms:mainfrom
itzaks:main

Conversation

@itzaks
Copy link
Copy Markdown

@itzaks itzaks commented Jul 15, 2024

Description

Wrong names for the collection hooks in the documentation for the auth hooks refresh and me. Issue here: #7145

  • I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • Chore (non-breaking change which does not add functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Change to the templates directory (does not affect core functionality)
  • Change to the examples directory (does not affect core functionality)
  • This change requires a documentation update

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • Existing test suite passes locally with my changes
  • I have made corresponding changes to the documentation

Comment thread docs/hooks/collections.mdx Outdated
@jacobsfletch jacobsfletch changed the title Update docs to correct collection me/refresh hook names fix: aliases AfterMe, AfterLogout, and AfterRefresh hook types Jul 18, 2024
@jacobsfletch jacobsfletch merged commit 20377bb into payloadcms:main Jul 18, 2024
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.

CollectionAfterMeHook mentioned in the documentations does not exist.

2 participants