From c216fd62b127288105ce04198e657e5dbc467675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=91=E7=89=9B?= Date: Wed, 1 Feb 2023 17:19:22 +0800 Subject: [PATCH] Update EventsApi.java 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 b4bed04de..cea0e62e5 100644 --- a/src/main/java/org/gitlab4j/api/EventsApi.java +++ b/src/main/java/org/gitlab4j/api/EventsApi.java @@ -326,7 +326,7 @@ public List getProjectEvents(Object projectIdOrPath, ActionType action, T * @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()