refactor: rename Recipient to Person, remove username, add userId FK
This commit is contained in:
@@ -81,7 +81,7 @@ export const AssignmentService = {
|
||||
},
|
||||
})
|
||||
},
|
||||
findAllByRecipient: async (
|
||||
findAllByPerson: async (
|
||||
recipientId: string,
|
||||
): Promise<AssignmentWithRecipientItemAsset[]> => {
|
||||
return prisma.assignment.findMany({
|
||||
@@ -143,4 +143,4 @@ export const AssignmentService = {
|
||||
data,
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user