Fix mapType in Authorization Service to handle extra '.'

This commit is contained in:
Konstantinos Triantafyllou 2024-01-11 18:39:50 +02:00
parent 13665afe14
commit 3c36b2ff5d
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ public class AuthorizationService {
} else if(type.equals("ri") && communityMap) {
type = "community";
}
while (type.contains(".")) {
type = type.replace(".", "_");
}
return type;
}