Skip to content

Commit

Permalink
fix product type arg
Browse files Browse the repository at this point in the history
  • Loading branch information
mhadaily committed Nov 23, 2019
1 parent b515b4d commit 690b163
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/catalog/domain/logic/catalog_logic.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mixin CatalogLogic {
String getOfficialProductManufacturer(String id) {
return getOfficialProductManufacturer(id);
String getOfficialProductManufacturer(String productType) {
return getOfficialProductManufacturer(productType);
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
String getOfficialProductManufacturer(String type) {
switch (type) {
String getOfficialProductManufacturer(String productType) {
switch (productType) {
case 'variable':
return 'Manufacturer number 1';
break;
Expand Down

0 comments on commit 690b163

Please sign in to comment.