Skip to content

Fix a team membership migration bug - #16

Merged
abnegate merged 3 commits into
mainfrom
fix-create-team-membership
Sep 12, 2023
Merged

Fix a team membership migration bug#16
abnegate merged 3 commits into
mainfrom
fix-create-team-membership

Conversation

@stnguyen90

@stnguyen90stnguyen90 commented Sep 8, 2023

Copy link
Copy Markdown
Contributor

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:

@stnguyen90stnguyen90 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
stnguyen90force-pushed the fix-create-team-membership branch from 1f13bef to 77049abCompareSeptember 8, 2023 02:05
@stnguyen90stnguyen90 linked an issue Sep 8, 2023 that may be closed by this pull request
2 tasks

@PineappleIOnicPineappleIOnic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lgtm

Comment threadcomposer.json Outdated
Comment threadsrc/Migration/Sources/Appwrite.php Outdated
@stnguyen90
stnguyen90force-pushed the fix-create-team-membership branch from 77049ab to 7189b2eCompareSeptember 8, 2023 16:52
Using asterisks is easier to understand thant remembering what ^
and ~ mean.
@abnegate
abnegate merged commit 3f6e6df into mainSep 12, 2023
@stnguyen90
stnguyen90 deleted the fix-create-team-membership branch October 18, 2024 00:32
Sign up for freeto 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

@stnguyen90@abnegate@PineappleIOnic