My guess is that in line 76 of the PatchUtil, enforceType should be receiving the value of the patch, as opposed to the patch itself.
javax.ws.rs.BadRequestException: Expected a value of type "string", got "EndUserPatchImpl"
at org.veupathdb.service.access.service.user.PatchUtil.enforceType(PatchUtil.java:43) ~[service.jar:1.0.0]
at org.veupathdb.service.access.service.user.PatchUtil.enumVal(PatchUtil.java:76) ~[service.jar:1.0.0]
at org.veupathdb.service.access.service.user.EndUserPatchService.applyModPatch(EndUserPatchService.java:141) ~[service.jar:1.0.0]
at org.veupathdb.service.access.service.user.EndUserPatchService.modPatch(EndUserPatchService.java:159) ~[service.jar:1.0.0]
My guess is that in line 76 of the PatchUtil, enforceType should be receiving the value of the patch, as opposed to the patch itself.