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

✨ Implement API update user #775

Merged
merged 1 commit into from
Jan 17, 2025
Merged

✨ Implement API update user #775

merged 1 commit into from
Jan 17, 2025

Conversation

lethemanh
Copy link
Collaborator

No description provided.

@lethemanh lethemanh requested a review from shepilov December 26, 2024 04:59
@lethemanh lethemanh force-pushed the feature/api-update-user branch from 94a23fe to 4cf17f2 Compare January 2, 2025 10:48
@lethemanh lethemanh self-assigned this Jan 2, 2025
@lethemanh lethemanh force-pushed the feature/api-update-user branch 5 times, most recently from d46d57c to 8d41180 Compare January 3, 2025 03:29
@lethemanh lethemanh requested a review from MontaGhanmy January 8, 2025 11:50
: instance.creation_date;
if (isChangeEmail) {
instance.username_canonical = (
user.email.replace(/[^a-z0-9_-]/, "") || ""
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is copied from

user.username_canonical = (user.username_canonical || "")
, couldn't we have this logic in a single place ? in case the regex changes for example ?

@lethemanh lethemanh force-pushed the feature/api-update-user branch 2 times, most recently from e4e436a to 11b0519 Compare January 9, 2025 04:53
@lethemanh lethemanh changed the title Implement API update user ✨ Implement API update user Jan 9, 2025
@lethemanh lethemanh force-pushed the feature/api-update-user branch from 11b0519 to f0d83b1 Compare January 9, 2025 05:47
@lethemanh lethemanh requested a review from ericlinagora January 9, 2025 09:06
@ericlinagora ericlinagora added this to the v1.0.6 milestone Jan 11, 2025
@lethemanh lethemanh merged commit ac8b777 into main Jan 17, 2025
7 checks passed
@ericlinagora ericlinagora deleted the feature/api-update-user branch January 17, 2025 14:55
@lethemanh lethemanh linked an issue Jan 21, 2025 that may be closed by this pull request
@ericlinagora ericlinagora modified the milestones: v1.0.6, v1.0.7 Jan 22, 2025
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.

Create a new API "update' in user controller
3 participants