Skip to content

Commit

Permalink
Merge pull request #20 from synadia-io/isenabled-fix
Browse files Browse the repository at this point in the history
[FIX] IsJetStreamEnabled delegate to JWT lib.
  • Loading branch information
aricart authored Nov 21, 2023
2 parents be471b3 + 2ba91c7 commit e81072b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_jstieredlimits.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (a *accountJsTieredLimits) Delete(tier int8) (bool, error) {
}

func (a *accountJsTieredLimits) IsJetStreamEnabled() bool {
return a.data.Claim.Limits.JetStreamLimits.IsUnlimited()
return a.data.Claim.Limits.IsJSEnabled()
}

func (a *accountJsTieredLimits) getLimit(tier int8) (JetStreamLimits, error) {
Expand Down

0 comments on commit e81072b

Please sign in to comment.