Skip to content

Commit

Permalink
fix: PR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
anku255 committed Feb 28, 2024
1 parent f24b890 commit d81681b
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,8 @@ public BulkImportUser(String id, String externalUserId, JsonObject userMetadata,
this.loginMethods = loginMethods;
}

public static BulkImportUser fromDBJson(String id, String rawData, BulkImportUserStatus status, long createdAt,
long updatedAt) {
BulkImportUser user = new Gson().fromJson(rawData, BulkImportUser.class);
user.id = id;
user.status = status;
user.createdAt = createdAt;
user.updatedAt = updatedAt;
return user;
public static BulkImportUser fromJson(JsonObject jsonObject) {
return new Gson().fromJson(jsonObject, BulkImportUser.class);
}

public String toString() {
Expand Down

0 comments on commit d81681b

Please sign in to comment.