diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/packaging/fragment/SupplierViewModel.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/packaging/fragment/SupplierViewModel.kt index 9b2c92ef..1c1a8be1 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/packaging/fragment/SupplierViewModel.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/packaging/fragment/SupplierViewModel.kt @@ -59,7 +59,8 @@ class SupplierViewModel(val context: Context) : BaseViewModel(context) { val loadEntryAdd: LiveData> = _entryAdd.map { Event(it) } fun getSuppliers() { - salix.getSuppliers().enqueue(object : SalixCallback>(context) { + salix.getWithPackaging( + ).enqueue(object : SalixCallback>(context) { override fun onSuccess(response: Response>) { _supplierList.value = response.body()?.let { SupplierList(it) }