From 4b845721f8f3282754b6ec7b6615208e8062b671 Mon Sep 17 00:00:00 2001 From: Daniel Lamb Date: Fri, 18 Dec 2015 15:54:20 -0400 Subject: [PATCH] Using app->share in TransactionService. --- services/TransactionService/src/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/TransactionService/src/index.php b/services/TransactionService/src/index.php index a4d8baf87..f5fa3019a 100644 --- a/services/TransactionService/src/index.php +++ b/services/TransactionService/src/index.php @@ -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.