add: news search bar, application history
This commit is contained in:
@@ -77,9 +77,8 @@ export async function getUserApplications(userId: string) {
|
||||
});
|
||||
}
|
||||
|
||||
export async function getPendingApplications() {
|
||||
export async function getAllApplications() {
|
||||
return prisma.citizenshipApplication.findMany({
|
||||
where: { status: "PENDING" },
|
||||
orderBy: { createdAt: "desc" },
|
||||
include: {
|
||||
user: {
|
||||
|
||||
Reference in New Issue
Block a user