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 6db53d9 commit a6469b6Copy full SHA for a6469b6
src/guards/distribution-center.guard.ts
@@ -13,7 +13,7 @@ export class DistributionCenterGuard extends AuthGuard('jwt') {
13
async canActivate(context: ExecutionContext): Promise<boolean> {
14
await super.canActivate(context);
15
const ok = await canActivate(context, [
16
- AccessLevel.Staff,
+ AccessLevel.Admin,
17
AccessLevel.DistributionCenter,
18
]);
19
if (ok) return true;
src/shelter/ShelterSearch.ts
@@ -122,7 +122,6 @@ class ShelterSearch {
122
}
123
124
get query(): Prisma.ShelterWhereInput {
125
- console.log(this.formProps);
126
if (Object.keys(this.formProps).length === 0) return {};
127
const queryData = {
128
AND: [
0 commit comments