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 dynamic author ID based on the author email from post content #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kahnu044
Copy link

@kahnu044 kahnu044 commented Aug 6, 2024

This pull request introduces functionality to dynamically set the author ID based on the email provided in a new property field named author in the markdown file.

The process involves:

  1. Checking if the author field is provided in the markdown file.
  2. Fetching the user object using the email.
  3. Updating the dynamic user ID if a matching user is found.

This enhancement ensures that posts are accurately attributed to the correct author based on the provided email address.

Changes include:

  • Variable renaming for better readability and consistency.
  • Added checks and logic to dynamically assign the user ID.

Please review the changes and let me know if any adjustments are needed.

@princetechs
Copy link

wow its, help full and looking for the update, thanks guys.

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