Compare commits
23 Commits
amalia/20-
...
amalia/08-
| Author | SHA1 | Date | |
|---|---|---|---|
| 8a938257b7 | |||
| 026e07ac78 | |||
| 928acf2c03 | |||
| a14f07b928 | |||
| 1e02747e22 | |||
| a0bffd53cb | |||
| 8dca3e440f | |||
| 1df1d10c91 | |||
| e5891f0da3 | |||
| 619cc9a403 | |||
| 3272ecaef3 | |||
| 3b5126d8ee | |||
| 552957282b | |||
| 22555079f3 | |||
| 6cf6486172 | |||
| 35e51028db | |||
| 37ea4e37e7 | |||
| e270db3bfa | |||
| 32dac32532 | |||
| d369a71eb6 | |||
| 7334831d61 | |||
| c0a4d584af | |||
| 9ac105e7bc |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sistem-desa-mandiri",
|
||||
"version": "0.1.15",
|
||||
"version": "0.1.19",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev --experimental-https",
|
||||
|
||||
1
prisma/migrations/20260521030721_auto/migration.sql
Normal file
1
prisma/migrations/20260521030721_auto/migration.sql
Normal file
@@ -0,0 +1 @@
|
||||
-- This is an empty migration.
|
||||
1
prisma/migrations/20260522064632_auto/migration.sql
Normal file
1
prisma/migrations/20260522064632_auto/migration.sql
Normal file
@@ -0,0 +1 @@
|
||||
-- This is an empty migration.
|
||||
1
prisma/migrations/20260525073630_auto/migration.sql
Normal file
1
prisma/migrations/20260525073630_auto/migration.sql
Normal file
@@ -0,0 +1 @@
|
||||
-- This is an empty migration.
|
||||
1
prisma/migrations/20260530064416_auto/migration.sql
Normal file
1
prisma/migrations/20260530064416_auto/migration.sql
Normal file
@@ -0,0 +1 @@
|
||||
-- This is an empty migration.
|
||||
@@ -27,9 +27,6 @@ export async function GET(request: Request) {
|
||||
idUserTo: userMobile.id
|
||||
},
|
||||
orderBy: [
|
||||
{
|
||||
isRead: 'asc'
|
||||
},
|
||||
{
|
||||
createdAt: 'desc'
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ export async function POST(request: Request, context: { params: { id: string } }
|
||||
if (String(pair[0]).substring(0, 4) == "file") {
|
||||
const file = body.get(pair[0]) as File
|
||||
const fExt = file.name.split(".").pop()
|
||||
const fName = file.name.replace("." + fExt, "")
|
||||
const fName = decodeURIComponent(file.name.replace("." + fExt, ""))
|
||||
|
||||
const upload = await funUploadFile({ file: file, dirId: DIR.project })
|
||||
if (upload.success) {
|
||||
|
||||
@@ -84,7 +84,7 @@ export async function POST(request: Request, context: { params: { id: string } }
|
||||
|
||||
const file = body.get(key) as File;
|
||||
const fExt = file.name.split(".").pop();
|
||||
const fName = file.name.replace("." + fExt, "");
|
||||
const fName = decodeURIComponent(file.name.replace("." + fExt, ""));
|
||||
|
||||
const upload = await funUploadFile({ file, dirId: DIR.project });
|
||||
if (!upload.success) continue;
|
||||
|
||||
@@ -114,7 +114,7 @@ export async function POST(request: Request, context: { params: { id: string } }
|
||||
if (String(pair[0]).substring(0, 4) == "file") {
|
||||
const file = body.get(pair[0]) as File
|
||||
const fExt = file.name.split(".").pop()
|
||||
const fName = file.name.replace("." + fExt, "")
|
||||
const fName = decodeURIComponent(file.name.replace("." + fExt, ""))
|
||||
|
||||
|
||||
const upload = await funUploadFile({ file: file, dirId: DIR.task })
|
||||
|
||||
@@ -213,7 +213,7 @@ export async function POST(request: Request) {
|
||||
if (String(pair[0]).substring(0, 4) == "file") {
|
||||
const file = body.get(pair[0]) as File
|
||||
const fExt = file.name.split(".").pop()
|
||||
const fName = file.name.replace("." + fExt, "")
|
||||
const fName = decodeURIComponent(file.name.replace("." + fExt, ""))
|
||||
|
||||
const upload = await funUploadFile({ file: file, dirId: DIR.task })
|
||||
if (upload.success) {
|
||||
|
||||
@@ -87,7 +87,7 @@ export async function POST(request: Request, context: { params: { id: string } }
|
||||
|
||||
const file = body.get(key) as File;
|
||||
const fExt = file.name.split(".").pop();
|
||||
const fName = file.name.replace("." + fExt, "");
|
||||
const fName = decodeURIComponent(file.name.replace("." + fExt, ""));
|
||||
|
||||
const upload = await funUploadFile({ file, dirId: DIR.task });
|
||||
if (!upload.success) continue;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user