File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ var _ = require('underscore');
44var Reflux = require ( 'reflux' ) ;
55var Actions = require ( '../actions/actions' ) ;
66var apiRequests = require ( '../utils/api-requests' ) ;
7+ var SettingsStore = require ( '../stores/settings' ) ;
78
89var NotificationsStore = Reflux . createStore ( {
910 listenables : Actions ,
@@ -22,9 +23,10 @@ var NotificationsStore = Reflux.createStore({
2223
2324 onGetNotifications : function ( ) {
2425 var self = this ;
26+ var participating = SettingsStore . getSettings ( ) . participating ;
2527
2628 apiRequests
27- . getAuth ( 'https://api.github.com/notifications' )
29+ . getAuth ( 'https://api.github.com/notifications?participating=' + participating )
2830 . end ( function ( err , response ) {
2931 if ( response && response . ok ) {
3032 // Success - Do Something.
You can’t perform that action at this time.
0 commit comments