Skip to content

Commit

Permalink
fix: bd pro download fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AldemirLucas committed Sep 17, 2024
1 parent 0628127 commit 1ddf5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next/components/molecules/DataInformationQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export default function DataInformationQuery({ resource }) {
let user
if(cookies.get("userBD")) user = JSON.parse(cookies.get("userBD"))

if(user?.proSubscriptionStatus === "active") return true
if(user?.internalSubscription?.edges?.[0]?.node?.isActive === true) return true
return false
}

Expand Down

0 comments on commit 1ddf5e1

Please sign in to comment.