gitlab4j/gitlab4j-api

What's wrong with my code ?

Closed this issue · 0 comments

Why this return nothing:

SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd");
api.getEventsApi().getUserEvents("fanguogang", ActionType.PUSHED, TargetType.PROJECT, df.parse("20240813"), df.parse("20240701"), SortOrder.ASC).forEach(e -> {
	System.out.println(e.getActionName());
});

while I can confirm there were many PUSHED events for the user 'fanguogang'