diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/storage/entitystore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/storage/entitystore.cpp b/common/storage/entitystore.cpp index 672eea1..71690fe 100644 --- a/common/storage/entitystore.cpp +++ b/common/storage/entitystore.cpp | |||
@@ -502,9 +502,9 @@ void EntityStore::readLatest(const QByteArray &type, const Identifier &id, const | |||
502 | [&](const DataStore::Error &error) { SinkWarningCtx(d->logCtx) << "Error during readLatest query: " << error.message << id; }); | 502 | [&](const DataStore::Error &error) { SinkWarningCtx(d->logCtx) << "Error during readLatest query: " << error.message << id; }); |
503 | } | 503 | } |
504 | 504 | ||
505 | void EntityStore::readLatest(const QByteArray &type, const QByteArray &key, const std::function<void(const QByteArray &uid, const EntityBuffer &entity)> callback) | 505 | void EntityStore::readLatest(const QByteArray &type, const QByteArray &uid, const std::function<void(const QByteArray &uid, const EntityBuffer &entity)> callback) |
506 | { | 506 | { |
507 | 507 | readLatest(type, Identifier::fromDisplayByteArray(uid), callback); | |
508 | } | 508 | } |
509 | 509 | ||
510 | void EntityStore::readLatest(const QByteArray &type, const Identifier &uid, const std::function<void(const ApplicationDomainType &)> callback) | 510 | void EntityStore::readLatest(const QByteArray &type, const Identifier &uid, const std::function<void(const ApplicationDomainType &)> callback) |