# HG changeset patch # User Sebastien Jodogne # Date 1399554955 -7200 # Node ID b640aeee11baa4fb82f97fbf6ded73061db93f2c # Parent 8a36c947490c9c7835e35a614e72191c9545ac27 fix diff -r 8a36c947490c -r b640aeee11ba OrthancServer/OrthancRestApi/OrthancRestModalities.cpp --- a/OrthancServer/OrthancRestApi/OrthancRestModalities.cpp Thu May 08 14:51:49 2014 +0200 +++ b/OrthancServer/OrthancRestApi/OrthancRestModalities.cpp Thu May 08 15:15:55 2014 +0200 @@ -473,6 +473,7 @@ RemoteModalityParameters modality; modality.FromJson(json); Configuration::UpdateModality(call.GetUriComponent("id", ""), modality); + call.GetOutput().AnswerBuffer("", "text/plain"); } } @@ -480,6 +481,7 @@ static void DeleteModality(RestApi::DeleteCall& call) { Configuration::RemoveModality(call.GetUriComponent("id", "")); + call.GetOutput().AnswerBuffer("", "text/plain"); } @@ -492,6 +494,7 @@ OrthancPeerParameters peer; peer.FromJson(json); Configuration::UpdatePeer(call.GetUriComponent("id", ""), peer); + call.GetOutput().AnswerBuffer("", "text/plain"); } } @@ -499,6 +502,7 @@ static void DeletePeer(RestApi::DeleteCall& call) { Configuration::RemovePeer(call.GetUriComponent("id", "")); + call.GetOutput().AnswerBuffer("", "text/plain"); }