remove consoloe.log
This commit is contained in:
parent
64c5a3690a
commit
2e71ccfbaa
|
@ -41,7 +41,6 @@ export class AdController {
|
||||||
|
|
||||||
@GrpcMethod('AdsService', 'Create')
|
@GrpcMethod('AdsService', 'Create')
|
||||||
async createAd(data: CreateAdRequest): Promise<AdPresenter> {
|
async createAd(data: CreateAdRequest): Promise<AdPresenter> {
|
||||||
console.log('call');
|
|
||||||
try {
|
try {
|
||||||
const ad = await this.commandBus.execute(new CreateAdCommand(data));
|
const ad = await this.commandBus.execute(new CreateAdCommand(data));
|
||||||
return this.mapper.map(ad, Ad, AdPresenter);
|
return this.mapper.map(ad, Ad, AdPresenter);
|
||||||
|
|
Loading…
Reference in New Issue