Mercurial > hg > orthanc
diff OrthancServer/LuaScripting.cpp @ 1441:f3672356c121
refactoring: IHttpHandler and HttpToolbox
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 01 Jul 2015 10:38:39 +0200 |
parents | 3567503c00a7 |
children | b2b09a3dbd8e |
line wrap: on
line diff
--- a/OrthancServer/LuaScripting.cpp Wed Jul 01 10:18:26 2015 +0200 +++ b/OrthancServer/LuaScripting.cpp Wed Jul 01 10:38:39 2015 +0200 @@ -80,7 +80,7 @@ const char* uri = lua_tostring(state, 1); std::string str; - if (restApi->SimpleGet(str, uri)) + if (HttpToolbox::SimpleGet(str, *restApi, uri)) { lua_pushstring(state, str.c_str()); }