diff --git a/ramls/acq-models b/ramls/acq-models index 0bf620e3..e5470eca 160000 --- a/ramls/acq-models +++ b/ramls/acq-models @@ -1 +1 @@ -Subproject commit 0bf620e388f08555d832b5f700a4502f931750d9 +Subproject commit e5470ecab1b2149b115f4df7985f418d136db2ce diff --git a/src/main/java/org/folio/rest/impl/RoutingListsAPI.java b/src/main/java/org/folio/rest/impl/RoutingListsAPI.java index 388ea6e7..97f976e9 100644 --- a/src/main/java/org/folio/rest/impl/RoutingListsAPI.java +++ b/src/main/java/org/folio/rest/impl/RoutingListsAPI.java @@ -31,9 +31,6 @@ public void getOrdersStorageRoutingLists(String query, String totalRecords, int @Validate public void postOrdersStorageRoutingLists(RoutingList entity, Map okapiHeaders, Handler> asyncResultHandler, Context vertxContext) { - if (StringUtils.isBlank(entity.getId())) { - entity.setId(UUID.randomUUID().toString()); - } PgUtil.post(ROUTING_LIST_TABLE, entity, okapiHeaders, vertxContext, PostOrdersStorageRoutingListsResponse.class, asyncResultHandler); }