diff --git a/src/main/java/neatlogic/module/tenant/api/tenantconfig/GetTenantConfigApi.java b/src/main/java/neatlogic/module/tenant/api/tenantconfig/GetTenantConfigApi.java index d50cf7182a7d7189e26b619279e7df7978792dbe..c54cd65e4b10cee2742e682402a7cb24ed4c0e41 100644 --- a/src/main/java/neatlogic/module/tenant/api/tenantconfig/GetTenantConfigApi.java +++ b/src/main/java/neatlogic/module/tenant/api/tenantconfig/GetTenantConfigApi.java @@ -70,7 +70,10 @@ public class GetTenantConfigApi extends PrivateApiComponentBase { configVo.setValue(tenantConfig.getValue()); } configVo.setDescription(tenantConfig.getDescription()); - configVo.setType(tenantConfig.getType().getText()); + ApiParamType type = tenantConfig.getType(); + if (type != null) { + configVo.setType(type.getText()); + } return configVo; }