Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Conversation

@MichelineMedhat
Copy link
Member

No description provided.

@yousinix yousinix removed their assignment Feb 4, 2021
@MichelineMedhat MichelineMedhat requested review from yousinix and removed request for yousinix February 6, 2021 13:52
Comment on lines +25 to +28
async deleteMember(
@Arg("input", () => MemberInput) input: MemberInput,
@Ctx() ctx: Context
): Promise<typeof DeleteMemberResult> {
Copy link
Member

Choose a reason for hiding this comment

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

Arguments:

  • MemberId

Return type: you can choose on of

  1. bool: true if deleted / false otherwise
  2. TenantUser | Error: deleted member data or error

We don't need the tenantId as it will be handled by the RLS already

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants