From 8d56a257de9f0d6544b1d3d998ecbcd174f3da02 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Fri, 30 Jul 2021 00:16:17 +0200 Subject: [PATCH] WIP: insert delete --- proto | 2 +- src/caosdb/transaction.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proto b/proto index 8febce7..d7c971a 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit 8febce70a96b3322d61a74e4567ade8b33f75369 +Subproject commit d7c971a329fcb4ead0b487aa1209b270c54ef541 diff --git a/src/caosdb/transaction.cpp b/src/caosdb/transaction.cpp index f998ceb..380362a 100644 --- a/src/caosdb/transaction.cpp +++ b/src/caosdb/transaction.cpp @@ -146,7 +146,7 @@ auto Transaction::InsertEntity(Entity *entity) -> void { } auto *sub_request = this->request->add_requests(); - auto *proto_entity = sub_request->mutable_insert_request()->mutable_entity(); + auto *proto_entity = sub_request->mutable_insert_request(); // swap and switch entity->Switch(proto_entity); -- GitLab