Skip to content

Commit

Permalink
Add log line when transferring data from guest -> registered user
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrdoherty committed Dec 10, 2024
1 parent 11fdaff commit 966dcd6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ public Response processDbLogin(@HeaderParam(REFERRER_HEADER_KEY) String referrer
}

protected void transferOwnership(User oldUser, User newUser, WdkModel wdkModel) throws WdkModelException {
LOG.info("Migrating data from guest user " + oldUser.getUserId() + " to registered user " + newUser.getUserId());
// transfer dataset ownership
wdkModel.getDatasetFactory().transferDatasetOwnership(oldUser, newUser);
// transfer strategy ownership
Expand Down

0 comments on commit 966dcd6

Please sign in to comment.