Skip to content

Commit

Permalink
Fix renaming all variables to catalogFacade
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielSantosRX authored Apr 8, 2020
1 parent 1ade7e0 commit a682b04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/catalog/api/index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ class CatalogApi {
final CatalogFacadeService catalogFacade = serviceLocator<CatalogFacadeService>();

Future<List<Product>> getProducts() async {
return catalogFacase.fetchProducts();
return catalogFacade.fetchProducts();
}

Future<Product> getProduct(String id) async {
return catalogFacase.getProduct(id);
return catalogFacade.getProduct(id);
}

String getOfficialProductManufacturer(String id) {
return catalogFacase.getOfficialProductManufacturer(id);
return catalogFacade.getOfficialProductManufacturer(id);
}
}

0 comments on commit a682b04

Please sign in to comment.