refactor: rename recipients route to people, update all frontend references
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { Prisma, Person } from "@/generated/prisma/client"
|
||||
import type { Person, Prisma } from "@/generated/prisma/client"
|
||||
import { paginate } from "@/lib/paginate"
|
||||
import prisma from "@/lib/prisma"
|
||||
|
||||
@@ -68,4 +68,4 @@ export const PersonService = {
|
||||
): Promise<Person> => {
|
||||
return db.person.update({ where: { id }, data })
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user