forked from ondra/colnod-connector
Fix tests
This commit is contained in:
parent
b8785b4bcd
commit
33d7a7e37b
@ -38,7 +38,6 @@ bool DatabaseAPI::executeQuery(QSqlQuery &query, const QString &statement)
|
||||
|
||||
std::shared_ptr<Data> DatabaseAPI::downloadData()
|
||||
{
|
||||
bool res = true;
|
||||
auto updatedQuery = mDbMan->createQuery();
|
||||
auto deletedQuery = mDbMan->createQuery();
|
||||
if (!executeQuery(updatedQuery, "SELECT * FROM colnod_token WHERE last_modified > last_update AND deleted = false")) {
|
||||
|
||||
@ -129,7 +129,7 @@ bool SyncManager::downloadData()
|
||||
//database->downloadData();
|
||||
colnod->downloadData();
|
||||
|
||||
return true;
|
||||
return res;
|
||||
}
|
||||
|
||||
// finds conflicts -> changes on both sides (colnod and DB), apply newer change
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user