fix transaction sample documentation (#1542)

* fix transaction sample
fixes #1524

* delete new line
This commit is contained in:
Rémi Bleuse
2022-08-23 00:22:07 +09:00
committed by GitHub
parent a2a48caf79
commit b0e24a73e8

View File

@@ -88,7 +88,7 @@ public void doSomething() {
CouchbaseDocument target = new CouchbaseDocument();
mappingCouchbaseConverter.write(airline, target);
ctx.insert(couchbaseClientFactory.getDefaultCollection(), target.getId(), target.getContent());
ctx.insert(couchbaseClientFactory.getDefaultCollection(), target.getId(), target.export());
ctx.commit();
});