Refs #11288: Made resource-registry more RESTful

Task-Url: https://support.d4science.org/issues/11288

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@169049 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2018-06-12 12:37:41 +00:00
parent 7caa7b9766
commit 184690f2d6
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ public class Access {
}
}
try {
directionEnum = Direction.valueOf(direction);
directionEnum = Direction.valueOf(direction.toUpperCase());
} catch(Exception e) {
String error = String.format("%s is not a valid. Allowed values are %s", direction, Direction.values());
throw new InvalidQueryException(error);