Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Fix syncing @email users.#6495

Merged
DFurnes merged 1 commit intoDoSomethingArchive:devfrom
DFurnes:at-email-sync
May 25, 2016
Merged

Fix syncing @email users.#6495
DFurnes merged 1 commit intoDoSomethingArchive:devfrom
DFurnes:at-email-sync

Conversation

@DFurnes
Copy link
Contributor

@DFurnes DFurnes commented May 24, 2016

What's this PR do?

This pull request fixes syncing @mobile users, which previously only got transformed when manually migrating users. It also extracts shared code between those two into a shared "transformation" function that then gets called for each unique use case, since there was like a ton of duplication.

How should this be reviewed?

Make sure I didn't miss anything when extracting shared logic into the new dosomething_northstar_transform_user function, and that each of the original functions still add their special sauce.

Any background context you want to provide?

🎎

Relevant tickets

Fixes #6480.

Checklist

  • Documentation added for new features/changed endpoints.

Also unsets email for synced users. We were previously only removing this
field on manual migration, not when syncing users on demand.
@angaither
Copy link
Contributor

👍

@DFurnes DFurnes merged commit f574b1c into DoSomethingArchive:dev May 25, 2016
@DFurnes DFurnes deleted the at-email-sync branch May 25, 2016 14:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Properly handle @@mobile emails when syncing in the Northstar module.

2 participants