Fix notifications
This commit is contained in:
parent
dadf817c3a
commit
48417a3255
|
@ -284,8 +284,8 @@ public class LibClient extends BaseClient{
|
|||
Validate.isTrue(userid != null, "userid cannot be null");
|
||||
logger.debug("Request for get user notification channels");
|
||||
String thisMethodSignature = "get-user-notification-channels-lib";
|
||||
String request = getServiceEndpoint() + thisMethodSignature + "?userid=" + userid;
|
||||
return HttpClient.post(new GenericType<ResponseBean<ArrayList<NotificationChannelType>>>(){}, request, notificationType);
|
||||
String request = getServiceEndpoint() + thisMethodSignature + "?userid=" + userid + "&type=" + notificationType.toString();
|
||||
return HttpClient.get(new GenericType<ResponseBean<ArrayList<NotificationChannelType>>>(){}, request);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue