try and fix build for real this time

This commit is contained in:
ouwou
2021-02-05 01:45:25 -05:00
parent c827bd4943
commit 09cdb1379e

View File

@@ -329,7 +329,7 @@ void from_json(const nlohmann::json &j, UserNoteObject &m) {
JS_ON("user_id", m.UserID);
}
void to_json(nlohmann::json &j, UserSetNoteObject &m) {
void to_json(nlohmann::json &j, const UserSetNoteObject &m) {
j["note"] = m.Note;
}