Skip to content

Commit

Permalink
Fix/auto import path key required issue (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik authored Oct 3, 2024
2 parents 0ae0e6e + 5ba4972 commit 2bde641
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions apps/api/src/app/import-jobs/import-jobs.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ export class ImportJobsController {
return this.createUserJob.execute({
_templateId: templateId,
url: createUserJobData.url,
extra: createUserJobData.extra,
externalUserId: createUserJobData.externalUserId,
});
}

Expand Down
2 changes: 1 addition & 1 deletion apps/api/src/app/import-jobs/import-jobs.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Module } from '@nestjs/common';
import { SharedModule } from '@shared/shared.module';
import { USECASES } from './usecase';
import { SharedModule } from '@shared/shared.module';
import { ImportJobsController } from './import-jobs.controller';

@Module({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { UserJobRepository } from '@impler/dal';
import { BadRequestException } from '@nestjs/common';
import { BadRequestException, Injectable } from '@nestjs/common';
import { APIMessages } from '@shared/constants';

@Injectable()
export class GetUserJob {
constructor(private readonly userJobRepository: UserJobRepository) {}

Expand Down
1 change: 0 additions & 1 deletion apps/api/src/app/shared/shared.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const DAL_MODELS = [
ValidatorRepository,
WebhookDestinationRepository,
BubbleDestinationRepository,
UserJobRepository,
JobMappingRepository,
UserJobRepository,
SchedulerRegistry,
Expand Down

0 comments on commit 2bde641

Please # to comment.