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

Update actions.js #12

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

Update actions.js #12

wants to merge 1 commit into from

Conversation

tomshaw
Copy link

@tomshaw tomshaw commented Feb 4, 2024

Bcrypt users password when updating.

Bcrypt users password when updating.
@Racine14Creator
Copy link

Racine14Creator commented Mar 18, 2024

I really like the code of this update action.

 Object.keys(updateFields).forEach(
      (key) =>
        (updateFields[key] === "" || undefined) && delete updateFields[key]
)

Good job

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