dl-commons 0.0.2-testing.22 → 0.0.2-testing.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dl-commons",
3
3
  "type": "commonjs",
4
- "version": "0.0.2-testing.22",
4
+ "version": "0.0.2-testing.23",
5
5
  "description": "distance learning commons",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -7,7 +7,7 @@ export class PermissionGuardArgs {
7
7
  verificationLevels?: string[] | null | undefined;
8
8
  }
9
9
 
10
- export const AllowPermissions = Reflector.createDecorator<PermissionGuardArgs>();
10
+ export const AllowPermissions = Reflector.createDecorator<PermissionGuardArgs>({ key: 'AllowPermissions' });
11
11
 
12
12
  @Injectable()
13
13
  export class PermissionGuard implements CanActivate {