implementing use cases

This commit is contained in:
daniel muniz
2024-06-05 21:18:36 -03:00
parent aca3a58b28
commit 48cdf694b5
3 changed files with 27 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
class CategoryConverterUseCase {
constructor(categoriesMapping) {
constructor({categoriesMapping}) {
this.categoriesMapping = categoriesMapping
}
@@ -9,4 +9,4 @@ class CategoryConverterUseCase {
}
}
module.export = { CategoryConverterUseCase }
module.exports = { CategoryConverterUseCase }