fix: ubah orderBy notifikasi ke createdAt desc agar pagination urut tanggal terbaru
This commit is contained in:
@@ -27,9 +27,6 @@ export async function GET(request: Request) {
|
||||
idUserTo: userMobile.id
|
||||
},
|
||||
orderBy: [
|
||||
{
|
||||
isRead: 'asc'
|
||||
},
|
||||
{
|
||||
createdAt: 'desc'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user