mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-22 16:38:21 +00:00
fixed: Resned invite throws error (#12560)
This commit is contained in:
parent
093ecbd1a9
commit
7ef433175e
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue