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

Refactor delete endpoint for user #964

Merged

Conversation

RomanRozbytskyi
Copy link
Contributor

Now it does not remove the user, but changes the status from active to blocked. Due to cronjobs using function from services to delete user, an internal function without endpoint exists to delete user for real. Also the route itself is below the admin restrictions in src/routes/user.js

@Mav-Ivan
Copy link
Contributor

Assign yourself to this PR
image

@RomanRozbytskyi RomanRozbytskyi merged commit 5cb7cc3 into develop Nov 26, 2024
3 checks passed
@RomanRozbytskyi RomanRozbytskyi deleted the bugfix/268/refactor-delete-endpoint-for-user branch November 26, 2024 19:44
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.

(SP:1) refactor delete endpoint for user
4 participants