Skip to content

Commit

Permalink
Adds controller and module to the main app module
Browse files Browse the repository at this point in the history
  • Loading branch information
macnablocky committed May 22, 2024
1 parent 002b994 commit ed8e847
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/apps/human-app/server/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ import { HCaptchaController } from './modules/h-captcha/h-captcha.controller';
import { EscrowUtilsModule } from './integrations/escrow/escrow-utils.module';
import Joi from 'joi';
import { ChainId } from '@human-protocol/sdk';
import { RegisterAddressController } from './modules/register-address/register-address.controller';
import { RegisterAddressModule } from './modules/register-address/register-address.module';

@Module({
imports: [
Expand Down Expand Up @@ -87,6 +89,7 @@ import { ChainId } from '@human-protocol/sdk';
HCaptchaModule,
HCaptchaLabelingModule,
EscrowUtilsModule,
RegisterAddressModule,
],
controllers: [
AppController,
Expand All @@ -97,6 +100,7 @@ import { ChainId } from '@human-protocol/sdk';
JobAssignmentController,
StatisticsController,
HCaptchaController,
RegisterAddressController,
],
exports: [HttpModule],
})
Expand Down

0 comments on commit ed8e847

Please sign in to comment.