From 6fdc6be0fa50c46d42bb02b4c9d2c1e7e84be639 Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Mon, 1 May 2023 09:17:35 -0600
Subject: [PATCH] lib update

---
 gradle.properties                                             | 2 +-
 .../java/gov/usgs/earthquake/nshmp/www/gmm/ServiceUtil.java   | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/gradle.properties b/gradle.properties
index b0a64cd..0260176 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -9,7 +9,7 @@ micronautRxVersion = 2.1.1
 nodePluginVersion = 3.0.1
 nodeVersion = 16.3.0
 nshmFaultSectionsTag = v0.1
-nshmpLibVersion = 1.2.16
+nshmpLibVersion = 1.3.1
 nshmpWsUtilsVersion = 0.3.11
 shadowVersion = 7.1.2
 spotbugsVersion = 4.7.0
diff --git a/src/main/java/gov/usgs/earthquake/nshmp/www/gmm/ServiceUtil.java b/src/main/java/gov/usgs/earthquake/nshmp/www/gmm/ServiceUtil.java
index 3b7e614..266dcbf 100644
--- a/src/main/java/gov/usgs/earthquake/nshmp/www/gmm/ServiceUtil.java
+++ b/src/main/java/gov/usgs/earthquake/nshmp/www/gmm/ServiceUtil.java
@@ -50,7 +50,6 @@ import gov.usgs.earthquake.nshmp.www.WsUtils;
 import gov.usgs.earthquake.nshmp.www.WsVersion;
 import gov.usgs.earthquake.nshmp.www.gmm.GmmService.Id;
 import gov.usgs.earthquake.nshmp.www.meta.EnumParameter;
-
 import io.micronaut.http.HttpParameters;
 import io.micronaut.http.HttpRequest;
 import io.micronaut.http.HttpResponse;
@@ -213,9 +212,6 @@ class ServiceUtil {
               (field.equals(Field.RX) || field.equals(Field.RRUP) || field.equals(Field.RJB))) {
             continue;
           }
-          if (field.equals(Field.FLAGS)) {
-            continue;
-          }
 
           Param param = createGmmInputParam(field, defaults.get(field));
           JsonElement fieldElem = context.serialize(param);
-- 
GitLab