keyshade icon indicating copy to clipboard operation
keyshade copied to clipboard

API: Add endpoint to fetch all workspace invitations for a user

Open rajdip-b opened this issue 6 months ago • 9 comments

Description

We would like to add an endpoint to fetch all the active workspace invitations that the user has.

Solution

  • Add an endpoint /api/workspace/invitations under workspace.controller.ts
  • Add a function named getAllWorkspaceInvitations in workspace.service.ts that implements the logic. The response should be paginated
  • Add proper tests in workspace.e2e.spec.ts

rajdip-b avatar Jul 30 '24 06:07 rajdip-b