c-code-x / vmn-backend

MIT License
1 stars 4 forks source link

[FIX] InvitationService Expiry date Updation fix. #12

Closed breathecode6365 closed 7 months ago

breathecode6365 commented 7 months ago

[FIX] InvitationService Expiry date Updation fix.

Description: This PR introduces the functionality to update the expiry time of an invitation each time it is resent.

Key changes include:

  1. Modified the resendInvite method in the InvitationService to update the expiry time of the invitation.
  2. Ensured that the updated expiry time is saved in the database when the invitation is resent.
  3. Added necessary tests to verify that the expiry time is correctly updated.

This change ensures that each time an invitation is resent, the recipient has a fresh timeframe to respond, improving the user experience and the effectiveness of the invitation system.

Type of Change:

Checklist: