mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-27 17:57:05 -04:00
[EGD-5586] Clean up messages endpoint API
Introducing changes according to new messages endpoint api proposal doc. All request have been updated, and some new were added. Harness tests were updated too. These changes will be followed up with pagination implementation.
This commit is contained in:
committed by
Paweł Olejniczak
parent
8d79f27d51
commit
f535268624
@@ -226,7 +226,9 @@ std::unique_ptr<db::QueryResult> ThreadRecordInterface::markAsReadQuery(const st
|
||||
ret = Update(record);
|
||||
}
|
||||
|
||||
return std::make_unique<db::query::MarkAsReadResult>(ret);
|
||||
auto response = std::make_unique<db::query::MarkAsReadResult>(ret);
|
||||
response->setRequestQuery(query);
|
||||
return response;
|
||||
}
|
||||
|
||||
std::unique_ptr<db::QueryResult> ThreadRecordInterface::threadsGetQuery(const std::shared_ptr<db::Query> &query)
|
||||
|
||||
Reference in New Issue
Block a user