Skip to content

Commit

Permalink
fix(java-sdk): fix clone of object mapper (openfga#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjames authored Mar 13, 2024
2 parents fcfb93d + 50a5115 commit 68d83ef
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,12 @@ public class ApiClient {
}

/**
* Get a copy of the current {@link ObjectMapper}.
* Get current {@link ObjectMapper}.
*
* @return A copy of the current object mapper.
* @return the current object mapper.
*/
public ObjectMapper getObjectMapper() {
return mapper.copy();
return mapper;
}

/**
Expand Down

0 comments on commit 68d83ef

Please sign in to comment.