Mercurial > hg > orthanc
comparison OrthancServer/OrthancRestApi/OrthancRestSystem.cpp @ 2612:6f9225dcfc32 jobs
renames
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 May 2018 08:59:04 +0200 |
parents | a3fdfb6979ed |
children | 2f3007bf0708 |
comparison
equal
deleted
inserted
replaced
2611:af7ea91dd4d5 | 2612:6f9225dcfc32 |
---|---|
122 | 122 |
123 std::string command; | 123 std::string command; |
124 call.BodyToString(command); | 124 call.BodyToString(command); |
125 | 125 |
126 { | 126 { |
127 LuaScripting::Locker locker(context.GetLua()); | 127 LuaScripting::Locker locker(context.GetLuaScripting()); |
128 locker.GetLua().Execute(result, command); | 128 locker.GetLua().Execute(result, command); |
129 } | 129 } |
130 | 130 |
131 call.GetOutput().AnswerBuffer(result, "text/plain"); | 131 call.GetOutput().AnswerBuffer(result, "text/plain"); |
132 } | 132 } |