We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2895265 commit 0c7701fCopy full SHA for 0c7701f
src/shelter/shelter.service.ts
@@ -121,23 +121,23 @@ export class ShelterService {
121
createdAt: true,
122
updatedAt: true,
123
shelterSupplies: {
124
- where: {
125
- priority: {
126
- gte: SupplyPriority.Needing,
127
- },
128
129
- take: 10,
130
select: {
131
priority: true,
132
supply: {
133
+ id: true,
134
name: true,
+ supplyCategory: {
+ select: {
+ name: true,
+ },
135
136
+ createdAt: true,
137
+ updatedAt: true,
138
},
139
140
- orderBy: {
- priority: 'desc',
141
142
143
0 commit comments