Skip to content

Commit

Permalink
syncDbinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
hdpan committed Dec 21, 2023
1 parent 47239de commit 3434777
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ protected void syncDbInfo(JsonArray dbArray) {

@VisibleForTesting
protected void setValue(DbTbl target,JsonObject source) {
target.setDbName(source.get("db_name").isJsonNull() ? null : source.get("db_name").getAsString());
target.setDbName(source.get("db_name").isJsonNull() ? null : source.get("db_name").getAsString().toLowerCase());
target.setBuName(source.get("organization_name").isJsonNull() ? null : source.get("organization_name").getAsString());
target.setDbOwner(source.get("dbowners").isJsonNull() ? null : source.get("dbowners").getAsString().split(";")[0]);
long organizationId = source.get("organization_id").getAsLong();
Expand Down

0 comments on commit 3434777

Please sign in to comment.