Skip to content

Commit b2942f3

Browse files
authored
Update EventsApi.java (gitlab4j#905)
change projectIdOrPath as Object type
1 parent a0f5a73 commit b2942f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/gitlab4j/api/EventsApi.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public List<Event> getProjectEvents(Object projectIdOrPath, ActionType action, T
326326
* @return a list of events for the specified project and matching the supplied parameters
327327
* @throws GitLabApiException if any exception occurs
328328
*/
329-
public List<Event> getProjectEvents(Long projectIdOrPath, ActionType action, TargetType targetType,
329+
public List<Event> getProjectEvents(Object projectIdOrPath, ActionType action, TargetType targetType,
330330
Date before, Date after, SortOrder sortOrder, int page, int perPage) throws GitLabApiException {
331331

332332
GitLabApiForm formData = new GitLabApiForm()

0 commit comments

Comments
 (0)