Fix mapType in Authorization Service to handle extra '.'

This commit is contained in:
Konstantinos Triantafyllou 2024-01-11 18:39:50 +02:00
parent be1f1bb2bc
commit 84e068a58a
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;
}