fixed: Resned invite throws error (#12560)

This commit is contained in:
Muhsin Shah C P 2025-04-14 13:57:48 +05:30 committed by GitHub
parent 093ecbd1a9
commit 7ef433175e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,7 @@ import { EditorUserCountGuard } from '@modules/licensing/guards/editorUser.guard
import { OrganizationInviteAuthGuard } from './guards/organization-invite-auth.guard';
import { FeatureAbilityGuard } from './ability/guard';
import { IOnboardingController } from './interfaces/IController';
import { ResendInviteDto } from './dto/resend-invite.dto';
@Controller('onboarding')
@InitModule(MODULES.ONBOARDING)
@ -73,7 +74,7 @@ export class OnboardingController implements IOnboardingController {
@InitFeature(FEATURE_KEY.RESEND_INVITE)
@UseGuards(SignupDisableGuard, FirstUserSignupDisableGuard, FeatureAbilityGuard)
@Post('resend-invite')
async resendInvite(@Body() body: AppSignupDto) {
async resendInvite(@Body() body: ResendInviteDto) {
return this.onboardingService.resendEmail(body);
}