Skip to content

Commit

Permalink
Update GetShippingRates with PackageData
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomazFB committed Dec 12, 2024
1 parent bdfe545 commit 2ed22bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.woocommerce.android.ui.orders.wooshippinglabels

import com.woocommerce.android.R
import com.woocommerce.android.ui.orders.wooshippinglabels.packages.datasource.PackageDAO
import com.woocommerce.android.ui.orders.wooshippinglabels.packages.ui.PackageData
import kotlinx.coroutines.delay
import javax.inject.Inject
import kotlin.random.Random
Expand All @@ -16,7 +16,7 @@ class GetShippingRates @Inject constructor() {
}

suspend operator fun invoke(
selectedPackage: PackageDAO,
selectedPackage: PackageData,
sortOrder: ShippingSortOption
): Result<Map<Carrier, List<ShippingRateUI>>> {
delay(1_000)
Expand Down

0 comments on commit 2ed22bc

Please sign in to comment.