Fixed Notification invocation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@154774 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c8a72f5e07
commit
aa5f8b78de
|
@ -27,7 +27,6 @@ import org.gcube.portal.notifications.thread.MessageNotificationsThread;
|
|||
import org.gcube.portlets.user.statisticalalgorithmsimporter.server.SessionUtil;
|
||||
import org.gcube.portlets.user.statisticalalgorithmsimporter.server.is.InformationSystemUtils;
|
||||
import org.gcube.portlets.user.statisticalalgorithmsimporter.server.util.ServiceCredentials;
|
||||
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.Constants;
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONObject;
|
||||
import org.slf4j.Logger;
|
||||
|
@ -78,7 +77,7 @@ public class AlgorithmNotification extends Thread {
|
|||
public void retrieveSocialNetworkingService() {
|
||||
try {
|
||||
socialNetworkingServiceURL = InformationSystemUtils
|
||||
.retrieveSocialNetworkingService(Constants.DEFAULT_SCOPE);
|
||||
.retrieveSocialNetworkingService(serviceCredentials.getScope());
|
||||
logger.info("SocialNetworkingServiceURL: " + socialNetworkingServiceURL);
|
||||
} catch (Throwable e) {
|
||||
logger.error(e.getLocalizedMessage(), e);
|
||||
|
|
Loading…
Reference in New Issue