Skip to content

Commit

Permalink
fix: license check
Browse files Browse the repository at this point in the history
  • Loading branch information
Pagebakers committed Oct 28, 2024
1 parent de9cf8e commit 15ce682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/website/src/pages/account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export const getServerSideProps = async (ctx) => {
status: string
}> = []

for await (const license of user.user_metadata.licenses) {
for await (const license of user.user_metadata.licenses ?? []) {
try {
const data = await getLicense(license.licenseKey)

Expand Down

0 comments on commit 15ce682

Please sign in to comment.