Skip to content

fix(api): [AB#288] fix employee invite redirect and resend#299

Merged
bllr777 merged 1 commit into
mainfrom
feature/288-fix-stripe-refund-exception-handling
May 18, 2026
Merged

fix(api): [AB#288] fix employee invite redirect and resend#299
bllr777 merged 1 commit into
mainfrom
feature/288-fix-stripe-refund-exception-handling

Conversation

@bllr777
Copy link
Copy Markdown
Collaborator

@bllr777 bllr777 commented May 18, 2026

Fixed the invite redirect URL to point to the correct Angular route, and changed resend behaviour to revoke the existing pending invite rather than rejecting the request.

Changes:
[1] Revoke existing pending invite on resend instead of returning AlreadyInvited error [2] Fixed redirect URL from /invite/{token} to /i/{shortCode} to match Angular route

References:
[1] JobFlow.Business/Services/EmployeeInviteService.cs:52 [2] JobFlow.Business/Services/EmployeeInviteService.cs:207

Fixed the invite redirect URL to point to the correct Angular route, and changed resend behaviour to revoke the existing pending invite rather than rejecting the request.

Changes:
[1] Revoke existing pending invite on resend instead of returning AlreadyInvited error
[2] Fixed redirect URL from /invite/{token} to /i/{shortCode} to match Angular route

References:
[1] [JobFlow.Business/Services/EmployeeInviteService.cs:52](https://github.com/Katharix/JobFlow.API/blob/feature/288-fix-stripe-refund-exception-handling/JobFlow.Business/Services/EmployeeInviteService.cs#L52)
[2] [JobFlow.Business/Services/EmployeeInviteService.cs:207](https://github.com/Katharix/JobFlow.API/blob/feature/288-fix-stripe-refund-exception-handling/JobFlow.Business/Services/EmployeeInviteService.cs#L207)
@bllr777 bllr777 merged commit 3cab5e9 into main May 18, 2026
8 checks passed
@bllr777 bllr777 deleted the feature/288-fix-stripe-refund-exception-handling branch May 18, 2026 00:27
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.

1 participant