Skip to content

Commit

Permalink
Using app->share in TransactionService.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-dgi committed Dec 18, 2015
1 parent 2a0efc3 commit 4b84572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/TransactionService/src/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

$app['debug'] = true;

$app['fedora'] = function () use ($app) {
$app['fedora'] = $app->share(function () {
return FedoraApi::create('http://127.0.0.1:8080/fcrepo/rest');
};
});

/**
* Convert returned Guzzle responses to Symfony responses.
Expand Down

0 comments on commit 4b84572

Please sign in to comment.