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:
parent
32051f112c
commit
eec55cacb7
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue