Skip to content

Commit

Permalink
Another missed change
Browse files Browse the repository at this point in the history
  • Loading branch information
brundonsmith committed Feb 11, 2024
1 parent cc0d50a commit 17c88ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion back-end/routes/v1/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function register(router: Router) {
return await withDBConnection(async db => {

// only referred accounts can view events schedule
const { allowedToPurchase } = await accountReferralStatus(db, account_id, TABLE_ROWS.next_festival[0].festival_id)
const { allowedToPurchase } = await accountReferralStatus(db, account_id)
if (!allowedToPurchase) {
return [null, Status.Unauthorized]
}
Expand Down

0 comments on commit 17c88ca

Please sign in to comment.