applying logs
This commit is contained in:
@@ -7,7 +7,9 @@ const getCategory = new GetCategoryUseCase();
|
|||||||
const categoryConverter = new CategoryConverterUseCase({categoriesMapping});
|
const categoryConverter = new CategoryConverterUseCase({categoriesMapping});
|
||||||
|
|
||||||
module.exports = async function app(domain){
|
module.exports = async function app(domain){
|
||||||
|
console.log(domain)
|
||||||
const category = await getCategory.execute(domain)
|
const category = await getCategory.execute(domain)
|
||||||
|
console.log(category)
|
||||||
const categoryConverted = await categoryConverter.execute(category)
|
const categoryConverted = await categoryConverter.execute(category)
|
||||||
console.log(categoryConverted)
|
console.log(categoryConverted)
|
||||||
return categoryConverted
|
return categoryConverted
|
||||||
|
|||||||
Reference in New Issue
Block a user