fix trs server function
This commit is contained in:
parent
ea122f4c9a
commit
c9c47c1297
@ -123,9 +123,9 @@ namespace trs
|
||||
auto notify(std::string path, std::string key, std::string data)
|
||||
{
|
||||
httplib::Headers headers = {
|
||||
{ "X-token-auth", m_token }
|
||||
{ "TRS-token-auth", m_token },
|
||||
{ "TRS-server-function", "notify" }
|
||||
};
|
||||
|
||||
return m_cli.Post(path, headers, httplib::Params{{key, data}});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user