Skip to content

Commit

Permalink
small addition request to include invited users in Team Content results
Browse files Browse the repository at this point in the history
- Data validation is needed for invited users since we migrate data for
them, we now include active, suspended and invited
  • Loading branch information
jackb-dropbox committed Dec 21, 2016
1 parent 1a6de04 commit 2b97e76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified Installer/DBAdminToolkit.Setup.zip
Binary file not shown.
3 changes: 2 additions & 1 deletion Source/DfBAdminToolkit/Presenter/DataMigrationPresenter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ private IList<TeamListViewItemModel> SearchOwner(
dynamic emailObj = profile["email"];
dynamic name = profile["name"];
dynamic status = profile["status"];
if (status != null && (status[".tag"].ToString().Equals("active") || status[".tag"].ToString().Equals("suspended"))) {
if (status != null && (status[".tag"].ToString().Equals("active") || status[".tag"].ToString().Equals("suspended") || status[".tag"].ToString().Equals("invited")))
{
string teamId = idObj.Value as string;
string email = emailObj.Value as string;
string firstName = name["given_name"].ToString();
Expand Down

0 comments on commit 2b97e76

Please sign in to comment.