-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add POST /api/v1/admin/merge_users (#3475)
First backend support for #3246 : Adds a new `/api/v1/admin/merge_users` endpoint to merge one or more source user accounts into an existing destination user account. The source user accounts are deleted in the process and all objects that belonged to the source users are transferred to the destination user. Rows belonging to the source accounts in the `user_stats` and `troll_stats` tables are also deleted.
- Loading branch information
1 parent
aa272cc
commit 7885202
Showing
2 changed files
with
60 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters