Skip to content

🚀 Feature: Omit the requirement of the URL parameter in server createMembership function #5675

@byawitz

Description

@byawitz

🔖 Feature description

From the docs

Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.

When using the teams createMembership() function in a Server side SDK it seems like there's no need for the URL parameter, or at least it shouldn't be required.

🎤 Pitch

As no email is being sent then no need for the url parameter.

P.s. maybe it can work that if the user is adding url to the server side function, then it will send email even from the server side implementation. but that's already another feature.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

Labels

product / functionsFixes and upgrades for the Appwrite Functions.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions