Fix Apple Reject

Add:
- prisma/migrations/20251208042529_add_accepted_terms_at/
- prisma/schema.prisma.backup
- src/app/api/mobile/user/[id]/terms-of-app/

Fix:

prisma/schema.prisma
src/app/api/auth/mobile-register/route.ts
src/app/api/mobile/forum/[id]/report-commentar/route.ts
src/app/api/mobile/forum/[id]/report-posting/route.ts

### No Issue
This commit is contained in:
2025-12-08 15:29:12 +08:00
parent cc78d82ca4
commit 6ee0b98f07
7 changed files with 1175 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ export async function POST(req: Request) {
nomor: data.nomor,
active: false,
termsOfServiceAccepted: data.termsOfServiceAccepted,
acceptedTermsAt: new Date(),
},
});