mirror of
https://gitlab.com/mobicoop/v3/service/ad.git
synced 2026-01-30 13:20:45 +00:00
remove consoloe.log
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user