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.
2 parents a978c74 + 0c7701f commit 83ab015Copy full SHA for 83ab015
src/shelter/shelter.service.ts
@@ -120,23 +120,23 @@ export class ShelterService {
120
createdAt: true,
121
updatedAt: true,
122
shelterSupplies: {
123
- where: {
124
- priority: {
125
- gte: SupplyPriority.Needing,
126
- },
127
128
- take: 10,
129
select: {
130
priority: true,
131
supply: {
132
+ id: true,
133
name: true,
+ supplyCategory: {
+ select: {
+ name: true,
+ },
134
135
+ createdAt: true,
136
+ updatedAt: true,
137
},
138
139
- orderBy: {
- priority: 'desc',
140
141
142
0 commit comments