fix: wrong relation join
This commit is contained in:
parent
96618c6e06
commit
aec90e4644
1 changed files with 1 additions and 3 deletions
|
|
@ -72,9 +72,7 @@ export class ServiceController extends Controller {
|
|||
prisma.service.findMany({
|
||||
include: {
|
||||
workOnService: {
|
||||
include: {
|
||||
service: true,
|
||||
},
|
||||
include: { work: true },
|
||||
},
|
||||
},
|
||||
orderBy: { createdAt: "asc" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue