Skip to content

Commit b0e24a7

Browse files
authored
fix transaction sample documentation (#1542)
* fix transaction sample fixes #1524 * delete new line
1 parent a2a48ca commit b0e24a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/asciidoc/transactions.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void doSomething() {
8888
CouchbaseDocument target = new CouchbaseDocument();
8989
mappingCouchbaseConverter.write(airline, target);
9090
91-
ctx.insert(couchbaseClientFactory.getDefaultCollection(), target.getId(), target.getContent());
91+
ctx.insert(couchbaseClientFactory.getDefaultCollection(), target.getId(), target.export());
9292
9393
ctx.commit();
9494
});

0 commit comments

Comments
 (0)