Skip to content

Commit

Permalink
chore: requested changes
Browse files Browse the repository at this point in the history
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
  • Loading branch information
sdanialraza and Jiralite committed Oct 27, 2024
1 parent 2037b57 commit 83fa2bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/discord.js/src/managers/SubscriptionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SubscriptionManager extends CachedManager {
* @typedef {Object} FetchSubscriptionsOptions
* @property {Snowflake} [after] Consider only subscriptions after this subscription id
* @property {Snowflake} [before] Consider only subscriptions before this subscription id
* @property {number} [limit=50] The maximum number of subscriptions to fetch
* @property {number} [limit] The maximum number of subscriptions to fetch
* @property {SKUResolvable} sku The SKU to fetch subscriptions for
* @property {UserResolvable} user The user to fetch entitlements for
* <warn>If both `before` and `after` are provided, only `before` is respected</warn>
Expand All @@ -49,7 +49,7 @@ class SubscriptionManager extends CachedManager {
async fetch(options = {}) {
if (typeof options !== 'object') throw new DiscordjsTypeError(ErrorCodes.InvalidType, 'options', 'object', true);

const { after, before, cache = true, limit = 50, sku, subscriptionId, user } = options;
const { after, before, cache = true, limit, sku, subscriptionId, user } = options;

const skuId = resolveSKUId(sku);

Expand Down
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/Subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Subscription extends Base {

if ('country' in data) {
/**
* ISO3166-1 alpha-2 country code of the payment source used to purchase the subscription.
* ISO 3166-1 alpha-2 country code of the payment source used to purchase the subscription.
* Missing unless queried with a private OAuth scope.
* @type {?string}
*/
Expand Down

0 comments on commit 83fa2bf

Please sign in to comment.