Skip to content

Commit

Permalink
remove put on /transaction level
Browse files Browse the repository at this point in the history
  • Loading branch information
fluency03 committed May 1, 2018
1 parent f4c5e81 commit fc4c0e1
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fc4c0e1

Please sign in to comment.