fix(api): add JWT scheme to @ApiBearerAuth and fix Prisma 7 extensions config

- Add 'JWT' scheme name to @ApiBearerAuth() in payments & subscriptions
  controllers so Swagger UI correctly links to the JWT security definition
- Add postgresqlExtensions preview feature to Prisma schema for v7 compat

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-08 13:08:03 +07:00
parent 0c227b6b01
commit 91b76d567b
3 changed files with 10 additions and 11 deletions

View File

@@ -10,7 +10,6 @@ generator client {
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
extensions = [postgis]
}