applying logs

This commit is contained in:
daniel muniz
2025-01-24 10:28:15 -03:00
parent 81eeabbc7b
commit 7731c0fe27

View File

@@ -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