Skip to content

Commit

Permalink
Fix ratelimittier not getting from restapi problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharsanan1 committed Sep 11, 2024
1 parent 606fbba commit 9869b3b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public void addSubscriptions(List<SubscriptionDto> subscriptionList) {
newSubscription.setOrganization(subscription.getOrganization());
newSubscription.setSubscribedApi(subscribedAPI);
newSubscriptionMap.put(newSubscription.getCacheKey(), newSubscription);
newSubscription.setRatelimitTier(subscription.getRatelimitTier());
}

if (log.isDebugEnabled()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class SubscriptionDto implements Serializable {
private String organization;
private String subStatus;
private SubscribedAPIDto subscribedApi;
private String ratelimitTier;

public String getUuid() {

Expand Down Expand Up @@ -52,4 +53,14 @@ public void setSubscribedApi(SubscribedAPIDto subscribedApi) {

this.subscribedApi = subscribedApi;
}

public String getRatelimitTier() {

return ratelimitTier;
}

public void setRatelimitTier(String ratelimitTier) {

this.ratelimitTier = ratelimitTier;
}
}

0 comments on commit 9869b3b

Please sign in to comment.