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

@@ -25,7 +25,7 @@ async function POST(request: Request, { params }: { params: { id: string } }) {
const msg = `Report Komentar: "${content?.komentar}" dengan kategori \n\n\n${reportList?.title} : \n\n${reportList?.deskripsi}`;
const res = await fetch(
`https://wa.wibudev.com/code?nom=6282340374412&text=${msg}`,
`https://cld-dkr-prod-wajs-server.wibudev.com/api/wa/code?nom=6282340374412&text=${msg}`,
{ cache: "no-cache" }
);

View File

@@ -19,7 +19,7 @@ async function POST(request: Request, { params }: { params: { id: string } }) {
const msg = `Report Postingan: "${content?.diskusi}"`;
const res = await fetch(
`https://wa.wibudev.com/code?nom=6282340374412&text=${msg}`,
`https://cld-dkr-prod-wajs-server.wibudev.com/api/wa/code?nom=6282340374412&text=${msg}`,
{ cache: "no-cache" }
);