Skip to content

Commit

Permalink
ECWID-138159: rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
carlecwid committed Jul 5, 2024
1 parent ff65e66 commit 2ceacae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fun FetchedProduct.toUpdated(): UpdatedProduct {
description = description,
descriptionTranslated = descriptionTranslated,
sku = sku,
customSlug = customSlug,
customUrlSlug = customUrlSlug,

enabled = enabled,
quantity = quantity,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data class UpdatedProduct(
val description: String? = null,
val descriptionTranslated: LocalizedValueMap? = null,
val sku: String? = null,
val customSlug: String? = null,
val customUrlSlug: String? = null,
val isSampleProduct: Boolean? = null,

val enabled: Boolean? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data class FetchedProduct(
val sku: String = "",
val isSampleProduct: Boolean? = null,
val url: String? = null,
val customSlug: String? = null,
val customUrlSlug: String? = null,

val created: Date = Date(),
val createTimestamp: Int = 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ val fetchedProductNullablePropertyRules: List<NullablePropertyRule<*, *>> = list
IgnoreNullable(FetchedProduct::tax),
IgnoreNullable(FetchedProduct::unlimited),
IgnoreNullable(FetchedProduct::url),
AllowNullable(FetchedProduct::customSlug),
AllowNullable(FetchedProduct::customUrlSlug),
IgnoreNullable(FetchedProduct::warningLimit),
IgnoreNullable(FetchedProduct::weight),
IgnoreNullable(FetchedProduct::wholesalePrices),
Expand Down

0 comments on commit 2ceacae

Please sign in to comment.