1
0
Fork 0
mirror of https://gitlab.com/niansa/commsy-rest.git synced 2025-03-06 20:48:27 +01:00

Another code style improvement

This commit is contained in:
niansa 2020-09-16 16:26:13 +02:00
parent 32051f112c
commit eec55cacb7

View file

@ -17,7 +17,7 @@ int main() {
}, {Get}
);
app().registerHandler("/fetchList?url={serverUrl}&sid={sid}&room={room}&startId={startId}&maxPosts={_maxPosts}",
app().registerHandler("/fetchList?url={serverUrl}&sid={sid}&room={room}&startId={startId}&maxPosts={maxPosts}",
[](const HttpRequestPtr& req, std::function<void (const HttpResponsePtr &)> &&callback,
const std::string &serverUrl, const std::string &sid, const std::string &room, const std::string &startId, std::string maxPosts)
{