oh my fod

This commit is contained in:
dankmeme01 2024-06-06 13:51:14 +02:00
parent 4ac52b11d2
commit 8cd91ac93a

View file

@ -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;
}
};