Skip to content

Commit

Permalink
Merge pull request #143 from ConductionNL/analysis-ork7AP
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
ginokok1996 authored Dec 23, 2020
2 parents 6abe375 + 405abd2 commit 590a240
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion api/src/Controller/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ public function gmailAction(Session $session, Request $request, CommonGroundServ
*/
public function linkedinAction(Session $session, Request $request, CommonGroundService $commonGroundService, ParameterBagInterface $params, EventDispatcherInterface $dispatcher)
{

if ($request->query->get('error')) {
$this->flash->add('warning', 'LinkedIn authorization has been cancelled');
if ($session->get('backUrl')) {
Expand Down
2 changes: 0 additions & 2 deletions api/src/Subscriber/AccessSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public function grantAccess(ViewEvent $event)
$authorization['purposeLimitation'] = '/purpose_limitations/'.$authorization['purposeLimitation']['id'];
}


if (!empty($authorization['dossiers'])) {
foreach ($authorization['dossiers'] as &$dossier) {
$dossier = '/dossiers/'.$dossier['id'];
Expand All @@ -105,7 +104,6 @@ public function grantAccess(ViewEvent $event)
}

$authorization = $this->commonGroundService->saveResource($authorization, ['component' => 'wac', 'type' => 'authorizations']);

}
$authorizationLog['endpoint'] = 'access_tokens';
$this->commonGroundService->createResource($authorizationLog, ['component' => 'wac', 'type' => 'authorization_logs']);
Expand Down

0 comments on commit 590a240

Please sign in to comment.