diff --git a/apps/api/src/app/invites/invites.controller.ts b/apps/api/src/app/invites/invites.controller.ts index bc8fc091526..e9ab29f0c1c 100644 --- a/apps/api/src/app/invites/invites.controller.ts +++ b/apps/api/src/app/invites/invites.controller.ts @@ -35,8 +35,8 @@ import { ApiExcludeController, ApiTags } from '@nestjs/swagger'; import { ThrottlerCost } from '../rate-limiting/guards'; import { ApiCommonResponses } from '../shared/framework/response.decorator'; import { UserAuthGuard } from '../auth/framework/user.auth.guard'; -import { InviteNudgeWebhookCommand } from './usecases/invite-nudge-webhook/invite-nudge-command'; -import { InviteNudgeWebhook } from './usecases/invite-nudge-webhook/invite-nudge-usecase'; +import { InviteNudgeWebhookCommand } from './usecases/invite-nudge/invite-nudge.command'; +import { InviteNudgeWebhook } from './usecases/invite-nudge/invite-nudge.usecase'; @UseInterceptors(ClassSerializerInterceptor) @ApiCommonResponses() diff --git a/apps/api/src/app/invites/usecases/index.ts b/apps/api/src/app/invites/usecases/index.ts index d93100f3583..bb924b94162 100644 --- a/apps/api/src/app/invites/usecases/index.ts +++ b/apps/api/src/app/invites/usecases/index.ts @@ -3,6 +3,6 @@ import { GetInvite } from './get-invite/get-invite.usecase'; import { BulkInvite } from './bulk-invite/bulk-invite.usecase'; import { InviteMember } from './invite-member/invite-member.usecase'; import { ResendInvite } from './resend-invite/resend-invite.usecase'; -import { InviteNudgeWebhook } from './invite-nudge-webhook/invite-nudge-usecase'; +import { InviteNudgeWebhook } from './invite-nudge/invite-nudge.usecase'; export const USE_CASES = [AcceptInvite, GetInvite, BulkInvite, InviteMember, ResendInvite, InviteNudgeWebhook]; diff --git a/apps/api/src/app/invites/usecases/invite-nudge-webhook/invite-nudge-command.ts b/apps/api/src/app/invites/usecases/invite-nudge/invite-nudge.command.ts similarity index 100% rename from apps/api/src/app/invites/usecases/invite-nudge-webhook/invite-nudge-command.ts rename to apps/api/src/app/invites/usecases/invite-nudge/invite-nudge.command.ts diff --git a/apps/api/src/app/invites/usecases/invite-nudge-webhook/invite-nudge-usecase.ts b/apps/api/src/app/invites/usecases/invite-nudge/invite-nudge.usecase.ts similarity index 96% rename from apps/api/src/app/invites/usecases/invite-nudge-webhook/invite-nudge-usecase.ts rename to apps/api/src/app/invites/usecases/invite-nudge/invite-nudge.usecase.ts index 7a35b75526c..be13d3de6fa 100644 --- a/apps/api/src/app/invites/usecases/invite-nudge-webhook/invite-nudge-usecase.ts +++ b/apps/api/src/app/invites/usecases/invite-nudge/invite-nudge.usecase.ts @@ -4,7 +4,7 @@ import { GetFeatureFlag, GetFeatureFlagCommand, createHash } from '@novu/applica import { FeatureFlagsKeysEnum } from '@novu/shared'; import axios from 'axios'; -import { InviteNudgeWebhookCommand } from './invite-nudge-command'; +import { InviteNudgeWebhookCommand } from './invite-nudge.command'; const axiosInstance = axios.create();