remvoing restriction that prevents activity count to be returned when if-modified-since header is present

merge-requests/713/head
Ace 4 years ago
parent ada570f0a0
commit b1d95af5b0

@ -298,11 +298,11 @@ public class ActivityProviderServiceImpl implements ActivityInfoProviderService
}
activityList.setList(activities);
activityList.setCount(count);
if (activities == null || activities.size() == 0) {
if (isIfModifiedSinceSet) {
return Response.notModified().build();
}
}
// if (activities == null || activities.size() == 0) {
// if (isIfModifiedSinceSet) {
// return Response.notModified().build();
// }
// }
return Response.ok().entity(activityList).build();
} catch (OperationManagementException e) {
String msg

Loading…
Cancel
Save