From 41e88f0c6e7903913ac270774c967d3b10936985 Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Tue, 12 Sep 2023 16:00:36 +0200 Subject: [PATCH] Fixed deprecated function --- src/main/java/org/gcube/gcat/social/SocialUsers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/gcat/social/SocialUsers.java b/src/main/java/org/gcube/gcat/social/SocialUsers.java index b888c39..9dd56eb 100644 --- a/src/main/java/org/gcube/gcat/social/SocialUsers.java +++ b/src/main/java/org/gcube/gcat/social/SocialUsers.java @@ -12,7 +12,7 @@ public class SocialUsers { public static Set getUsernamesByRole(String roleName) throws Exception { UserClient userClient = new UserClient(); - Set usernames = new HashSet<>(userClient.getAllUsernamesByLocalRole(roleName)); + Set usernames = new HashSet<>(userClient.getAllUsernamesByRole(roleName)); return usernames; }