From b2942f39fc516c584cdce1567bf79638e222e834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=91=E7=89=9B?= Date: Fri, 17 Mar 2023 01:39:34 +0800 Subject: [PATCH] Update EventsApi.java (#905) change projectIdOrPath as Object type --- src/main/java/org/gitlab4j/api/EventsApi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gitlab4j/api/EventsApi.java b/src/main/java/org/gitlab4j/api/EventsApi.java index b4bed04d..cea0e62e 100644 --- a/src/main/java/org/gitlab4j/api/EventsApi.java +++ b/src/main/java/org/gitlab4j/api/EventsApi.java @@ -326,7 +326,7 @@ public class EventsApi extends AbstractApi { * @return a list of events for the specified project and matching the supplied parameters * @throws GitLabApiException if any exception occurs */ - public List getProjectEvents(Long projectIdOrPath, ActionType action, TargetType targetType, + public List getProjectEvents(Object projectIdOrPath, ActionType action, TargetType targetType, Date before, Date after, SortOrder sortOrder, int page, int perPage) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() -- GitLab