Skip to content
Snippets Groups Projects
Commit c4d3d1e1 authored by L4168's avatar L4168
Browse files

removed console.log

parent 0cb15cee
No related branches found
No related tags found
3 merge requests!59Development to master,!36Development,!32Game state
...@@ -22,7 +22,6 @@ export class StatesGuard implements CanActivate { ...@@ -22,7 +22,6 @@ export class StatesGuard implements CanActivate {
async canActivate(context: ExecutionContext): Promise<boolean> { async canActivate(context: ExecutionContext): Promise<boolean> {
// get game states that are allowed access, identified by @GameStates('state') decorators in controllers // get game states that are allowed access, identified by @GameStates('state') decorators in controllers
const states = this.reflector.get<string[]>('states', context.getHandler()); const states = this.reflector.get<string[]>('states', context.getHandler());
console.log(states);
if (!states) { if (!states) {
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment