Description:
This PR introduces the functionality to update the expiry time of an invitation each time it is resent.
Key changes include:
Modified the resendInvite method in the InvitationService to update the expiry time of the invitation.
Ensured that the updated expiry time is saved in the database when the invitation is resent.
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:
[x] Bug Fix
[ ] Feature Addition
[ ] Documentation Update
[ ] Other (please specify)
Checklist:
[x] My code follows the code style of this project.
[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:
resendInvite
method in theInvitationService
to update the expiry time of the invitation.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: