mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-24 03:39:56 -04:00
oh my fod
This commit is contained in:
parent
4ac52b11d2
commit
8cd91ac93a
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ public:
|
|||
WebResponse makeError(int code, std::string const& msg) {
|
||||
auto res = WebResponse();
|
||||
res.m_impl->m_code = code;
|
||||
res.m_impl->m_data = toByteArray(msg);
|
||||
res.m_impl->m_data = ByteVector(msg.begin(), msg.end());
|
||||
return res;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue