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

feat: delete organization invitations #375

Merged
merged 5 commits into from
Dec 26, 2023

Conversation

sanjay-k1910
Copy link
Contributor

What

Implemented delete organization invitation API.

Why

To enable the user to delete an organization invitation before the invitation is accepted or rejected.

How

Implemented a function that accepts an invitationId and orgId as a parameter and deletes the organization invitation.

Task

#359

@sanjay-k1910 sanjay-k1910 self-assigned this Dec 26, 2023
@sanjay-k1910 sanjay-k1910 linked an issue Dec 26, 2023 that may be closed by this pull request
8 tasks
@Res() res: Response
): Promise<Response> {
await this.organizationService.deleteOrganizationInvitation(orgId, invitationId);
const finalResponse: IResponseType = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's replace IResponseType with IResponse

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Resolved.

Copy link

sonarcloud bot commented Dec 26, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@vivekayanworks vivekayanworks merged commit f6b982c into nats-refactor Dec 26, 2023
2 checks passed
@vivekayanworks vivekayanworks deleted the feat-delete-org-invitations branch December 26, 2023 13:51
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.

Allow user to delete organization invitations
2 participants