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

Fix a team membership migration bug #16

Merged
merged 3 commits into from
Sep 12, 2023
Merged

Conversation

stnguyen90
Copy link
Contributor

@stnguyen90 stnguyen90 commented Sep 8, 2023

The create team membership API fails if an invalid email, phone, or name are supplied. We can get rid of all of those params because the we can look up the user by user id and user id should always be available.

image

Related issue:

@stnguyen90 stnguyen90 linked an issue Sep 8, 2023 that may be closed by this pull request
2 tasks
The create team membership API fails if an invalid email, phone, or
name are supplied. We can get rid of all of those params because the
we can look up the user by user id and user id should always be
available.

In addition, the create team membership API will fail if an empty string
is passed for the url. We have to use the latest SDK where we can omit
the url param.
@stnguyen90 stnguyen90 linked an issue Sep 8, 2023 that may be closed by this pull request
2 tasks
Copy link
Member

@PineappleIOnic PineappleIOnic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

composer.json Outdated Show resolved Hide resolved
src/Migration/Sources/Appwrite.php Outdated Show resolved Hide resolved
Using asterisks is easier to understand thant remembering what ^
and ~ mean.
@abnegate abnegate merged commit 3f6e6df into main Sep 12, 2023
2 checks passed
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.

Ensure team memberships are migrated
3 participants