Skip to content

Commit 5421b28

Browse files
authored
Merge pull request #150 from DirectMyFile/fix_received_events
Fix pollPublicEventsReceivedByUser to use the correct API URL
2 parents 447c621 + 84c0e9d commit 5421b28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/common/activity_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class ActivityService extends Service {
9090
///
9191
/// API docs: https://developer.github.com/v3/activity/events/#list-public-events-that-a-user-has-received
9292
EventPoller pollPublicEventsReceivedByUser(String user) =>
93-
EventPoller(_github, "/repos/$user/events/public");
93+
EventPoller(_github, "/repos/$user/received_events/public");
9494

9595
/// Lists the events performed by a user.
9696
///

0 commit comments

Comments
 (0)