implementig http approach

This commit is contained in:
daniel muniz
2024-07-30 12:46:58 -03:00
parent 5fbeb896c5
commit af8d8bdfc9
6 changed files with 2138 additions and 134 deletions

View File

@@ -8,9 +8,9 @@ const categoryConverter = new CategoryConverterUseCase({categoriesMapping});
module.exports = async function app(domain){
const category = await getCategory.execute(domain)
console.log(category)
const categoryConverted = await categoryConverter.execute(category)
console.log(categoryConverted)
return categoryConverted
}