Skip to content

Commit

Permalink
Allow spaces in DeleteMethod lookup.
Browse files Browse the repository at this point in the history
  • Loading branch information
rma-rripken committed Jan 5, 2024
1 parent ed72872 commit 88ea3de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cwms-data-api/src/main/java/cwms/cda/api/Controllers.java
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ public static JooqDao.DeleteMethod getDeleteMethod(String input) {
JooqDao.DeleteMethod retval = null;

if (input != null) {
input = input.replace(' ', '_');
retval = JooqDao.DeleteMethod.valueOf(input.toUpperCase());
}
return retval;
Expand Down

0 comments on commit 88ea3de

Please sign in to comment.