Skip to content

Commit

Permalink
Update EventsApi.java (#905)
Browse files Browse the repository at this point in the history
change projectIdOrPath as Object type
  • Loading branch information
chenlingmin authored Mar 16, 2023
1 parent a0f5a73 commit b2942f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/gitlab4j/api/EventsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public List<Event> 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<Event> getProjectEvents(Long projectIdOrPath, ActionType action, TargetType targetType,
public List<Event> getProjectEvents(Object projectIdOrPath, ActionType action, TargetType targetType,
Date before, Date after, SortOrder sortOrder, int page, int perPage) throws GitLabApiException {

GitLabApiForm formData = new GitLabApiForm()
Expand Down

0 comments on commit b2942f3

Please sign in to comment.