From fc4c0e191cfb0621014331d0da949637e9d3ac3b Mon Sep 17 00:00:00 2001 From: fluency03 Date: Tue, 1 May 2018 03:46:29 +0200 Subject: [PATCH] remove put on /transaction level --- .../fluency03/blockchain/api/routes/TransactionRoutes.scala | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/scala/com/fluency03/blockchain/api/routes/TransactionRoutes.scala b/src/main/scala/com/fluency03/blockchain/api/routes/TransactionRoutes.scala index 8e73a5c..7549899 100644 --- a/src/main/scala/com/fluency03/blockchain/api/routes/TransactionRoutes.scala +++ b/src/main/scala/com/fluency03/blockchain/api/routes/TransactionRoutes.scala @@ -45,12 +45,6 @@ trait TransactionRoutes extends RoutesSupport { onSuccess(msgOnCreate) { respondOnCreation } } } - put { - entity(as[Transaction]) { tx => - val msgOnUpdate: Future[Message] = (transActor ? UpdateTransaction(tx)).mapTo[Message] - onSuccess(msgOnUpdate) { respondOnUpdate } - } - } } ~ path(Segment) { id => get {