Skip to content

Commit 81dc252

Browse files
author
Emmanouil Konstantinidis
committed
Fix ternary operator
1 parent bc89932 commit 81dc252

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/js/stores/notifications.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ var NotificationsStore = Reflux.createStore({
2626
var participating = SettingsStore.getSettings().participating;
2727

2828
apiRequests
29-
.getAuth('https://api.github.com/notifications?participating=' + participating ?
30-
'true' : 'false'
31-
)
29+
.getAuth('https://api.github.com/notifications?participating=' +
30+
(participating ? 'true' : 'false'))
3231
.end(function (err, response) {
3332
if (response && response.ok) {
3433
// Success - Do Something.

0 commit comments

Comments
 (0)