Mercurial > hg > orthanc
diff OrthancServer/OrthancRestApi/OrthancRestChanges.cpp @ 2908:9d277f8ad698
new enumeration: MimeType
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Oct 2018 16:16:07 +0100 |
parents | ae20fccdd867 |
children | 4e43e67f8ecf |
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestChanges.cpp Tue Oct 30 13:53:29 2018 +0100 +++ b/OrthancServer/OrthancRestApi/OrthancRestChanges.cpp Tue Oct 30 16:16:07 2018 +0100 @@ -98,7 +98,7 @@ static void DeleteChanges(RestApiDeleteCall& call) { OrthancRestApi::GetIndex(call).DeleteChanges(); - call.GetOutput().AnswerBuffer("", MIME_PLAIN_TEXT); + call.GetOutput().AnswerBuffer("", MimeType_PlainText); } @@ -130,7 +130,7 @@ static void DeleteExports(RestApiDeleteCall& call) { OrthancRestApi::GetIndex(call).DeleteExportedResources(); - call.GetOutput().AnswerBuffer("", MIME_PLAIN_TEXT); + call.GetOutput().AnswerBuffer("", MimeType_PlainText); }