fix: divisi dokumen

Deskripsi:
- file terbaru pada detail divisi udh bisa langsung ke folder

No Issues
This commit is contained in:
amel
2024-09-26 17:28:58 +08:00
parent 051bc4a33c
commit ab25bb58b6
3 changed files with 4 additions and 2 deletions

View File

@@ -119,6 +119,7 @@ export async function GET(request: Request, context: { params: { id: string } })
id: true,
name: true,
extension: true,
path: true,
},
orderBy: {
createdAt: "desc"