Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions integrations/sample-app/app/console/mailer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export class TestMailConsoleCommand {
.line('Rise & Shine,')
.line('V')
.subject('Hey there from Intent');
console.log((await mail3.getMailData()).html);
await Mail.init().to('[email protected]').send(mail3);
return true;
}
Expand Down
4 changes: 2 additions & 2 deletions integrations/sample-app/app/http/controllers/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { Controller, Get, Req } from '@intentjs/core';
import { OrderPlacedEvent } from 'app/events/events/sample-event';
import { UserService } from 'app/services';

@Controller()
@Controller('blogs')
export class UserController {
constructor(private readonly service: UserService) {}

@Get('/')
@Get()
async getHello(@Req() req: Request) {
return { hello: 'Intent' };
}
Expand Down
2 changes: 1 addition & 1 deletion integrations/sample-app/app/http/controllers/icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class IntentController {
return { hello: 'world' };
}

@Validate(LoginDto)
// @Validate(LoginDto)
@UseGuards(CustomGuard)
@Post('/json')
async postJson(
Expand Down
Loading
Loading