fix read ad rules

This commit is contained in:
sbriat 2023-05-04 15:56:01 +02:00
parent 2a06eff235
commit 755501d3c8
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ export class AuthorizationController {
@GrpcMethod('AuthorizationService', 'Decide') @GrpcMethod('AuthorizationService', 'Decide')
async decide(data: DecisionRequest): Promise<AuthorizationPresenter> { async decide(data: DecisionRequest): Promise<AuthorizationPresenter> {
try { try {
console.log(data);
const authorization: Authorization = await this._queryBus.execute( const authorization: Authorization = await this._queryBus.execute(
new DecisionQuery(data.uuid, data.domain, data.action, data.context), new DecisionQuery(data.uuid, data.domain, data.action, data.context),
); );