Skip to content

Commit

Permalink
chore(core): add more names to arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
lukellmann committed Sep 14, 2024
1 parent 3ab3e4e commit 809f7af
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public interface SkuBehavior : KordEntity, Strategizable {
* @throws RequestException if something went wrong during the request.
*/
public suspend fun getSubscriptionOrNull(subscriptionId: Snowflake): Subscription? =
supplier.getSubscriptionOrNull(this.id, subscriptionId)
supplier.getSubscriptionOrNull(skuId = this.id, subscriptionId)

/**
* Requests a [Subscription] containing this SKU by its [id][subscriptionId].
Expand All @@ -45,7 +45,7 @@ public interface SkuBehavior : KordEntity, Strategizable {
* @throws EntityNotFoundException if the [Subscription] wasn't found.
*/
public suspend fun getSubscription(subscriptionId: Snowflake): Subscription =
supplier.getSubscription(this.id, subscriptionId)
supplier.getSubscription(skuId = this.id, subscriptionId)

/**
* Requests to create a new [test entitlement][Entitlement] to this SKU for an owner with the given [ownerId] and
Expand Down

0 comments on commit 809f7af

Please sign in to comment.