Skip to content

Commit

Permalink
fix(auth): remove referral program check from access
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-gs committed Jun 20, 2024
1 parent 1a5400f commit c435d71
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/app/routes/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,7 @@ export class AuthController {
bridgeUser: userData.bridgeUser,
sharedWorkspace: userData.sharedWorkspace,
appSumoDetails: null,
hasReferralsProgram: await this.service.UsersReferrals.hasReferralsProgram(
userData,
userData.bridgeUser,
userData.userId,
),
hasReferralsProgram: false,
backupsBucket: userData.backupsBucket,
avatar: userData.avatar ? await this.service.User.getSignedAvatarUrl(userData.avatar) : null,
emailVerified: userData.emailVerified,
Expand Down

0 comments on commit c435d71

Please sign in to comment.