fix: branding is always disabled for pro (#754)
* add jwt secret * fix `isBrandingHidden` Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
parent
7574c322c4
commit
790ed3e6b1
2 changed files with 2 additions and 2 deletions
|
@ -216,7 +216,7 @@ const AvailabilityPage = ({ profile, eventType, workingHours }: AvailabilityPage
|
|||
)}
|
||||
</div>
|
||||
</div>
|
||||
{eventType.users.length && isBrandingHidden(eventType.users[0]) && <PoweredByCalendso />}
|
||||
{(!eventType.users[0] || !isBrandingHidden(eventType.users[0])) && <PoweredByCalendso />}
|
||||
</main>
|
||||
</div>
|
||||
</>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"db-migrate": "yarn prisma migrate dev",
|
||||
"db-seed": "yarn ts-node scripts/seed.ts",
|
||||
"db-nuke": "docker-compose down --volumes --remove-orphans",
|
||||
"dx": "BASE_URL='http://localhost:3000' DATABASE_URL=postgresql://postgres:@localhost:5450/calendso eval 'yarn db-up && yarn prisma migrate dev && yarn db-seed && yarn dev'",
|
||||
"dx": "BASE_URL='http://localhost:3000' JWT_SECRET=secret DATABASE_URL=postgresql://postgres:@localhost:5450/calendso eval 'yarn db-up && yarn prisma migrate dev && yarn db-seed && yarn dev'",
|
||||
"test": "node node_modules/.bin/jest",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
|
|
Loading…
Reference in a new issue