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

Ignore users that already exist in the destination user pool #13

Merged
merged 2 commits into from
Oct 28, 2019

Conversation

vladistan
Copy link
Contributor

Sometimes it's handy to restore users into non-empty pool. Unfortunately your script fails in when there are users already present in the destination pool that have the same user id.

Here is a small patch that will ignore such users and will restore the rest.

src/index.ts Outdated Show resolved Hide resolved
@rahulpsd18 rahulpsd18 merged commit 1112ce0 into rahulpsd18:master Oct 28, 2019
@rahulpsd18
Copy link
Owner

@all-contributors please add @vladistan for code

@allcontributors
Copy link
Contributor

@rahulpsd18

I've put up a pull request to add @vladistan! 🎉

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.

None yet

2 participants