file mgr db unit tests and fixes
This commit is contained in:
parent
2ff18fe98d
commit
1e8a351f67
@ -136,7 +136,6 @@ auto rdb_file_mgr_db::get_next_upload() const -> std::optional<upload_entry> {
|
||||
|
||||
auto api_path = utils::string::join(parts, '|');
|
||||
|
||||
auto data = json::parse(iter->value().ToString());
|
||||
return upload_entry{
|
||||
api_path,
|
||||
iter->value().ToString(),
|
||||
@ -175,7 +174,6 @@ auto rdb_file_mgr_db::get_upload(const std::string &api_path) const
|
||||
continue;
|
||||
}
|
||||
|
||||
auto data = json::parse(iter->value().ToString());
|
||||
return upload_entry{
|
||||
api_path,
|
||||
iter->value().ToString(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user