Skip to content

Commit 9d73c4e

Browse files
author
Emmanouil Konstantinidis
committed
Use ternary operator
1 parent 451ca1b commit 9d73c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/stores/notifications.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var NotificationsStore = Reflux.createStore({
2626
var participating = SettingsStore.getSettings().participating;
2727

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

0 commit comments

Comments
 (0)