diff --git a/SpeckleLib/Speckle/Database/Storage/DocumentStore/DocumentStoreEngine.h b/SpeckleLib/Speckle/Database/Storage/DocumentStore/DocumentStoreEngine.h index e303953..fcb3edd 100644 --- a/SpeckleLib/Speckle/Database/Storage/DocumentStore/DocumentStoreEngine.h +++ b/SpeckleLib/Speckle/Database/Storage/DocumentStore/DocumentStoreEngine.h @@ -162,9 +162,9 @@ namespace speckle::database { return m_cache.get(); //Return an empty container if there's no data //Import the document data into the record cache if constexpr (std::is_same_v) - Transport().receive(std:: forward(*m_cache), active::serialise::Identity{}, storedData); + Transport().receive(std::forward(*m_cache), active::serialise::Identity{}, storedData); else - Transport().receive(ObjWrapper{*m_cache}, active::serialise::Identity{}, storedData); + Transport().receive(active::serialise::PackageWrap{*m_cache}, active::serialise::Identity{}, storedData); return m_cache.get(); } //DocumentStoreEngine::getCache