From 11621564f678ffa0e41eb51b081e991a0aba4665 Mon Sep 17 00:00:00 2001 From: Connor Hudson Date: Wed, 1 Jun 2016 17:11:18 -0400 Subject: [PATCH] why hello there, travis --- src/redux/session.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/redux/session.js b/src/redux/session.js index 99f4f43a9..9ad80c08f 100644 --- a/src/redux/session.js +++ b/src/redux/session.js @@ -7,7 +7,7 @@ var tokenActions = require('./token.js'); var Types = keyMirror({ SET_SESSION: null, SET_SESSION_ERROR: null, - SET_STATUS: null, + SET_STATUS: null }); module.exports.Status = keyMirror({ @@ -27,9 +27,9 @@ module.exports.sessionReducer = function (state, action) { } switch (action.type) { case Types.SET_SESSION: - return defaultsDeep({"results": action.session}, state); + return defaultsDeep({'results': action.session}, state); case Types.SET_STATUS: - return defaultsDeep({"status": action.status}, state) + return defaultsDeep({'status': action.status}, state); case Types.SET_SESSION_ERROR: // TODO: do something with action.error return state; @@ -52,12 +52,12 @@ module.exports.setSession = function (results) { }; }; -module.exports.setStatus = function(status){ +module.exports.setStatus = function (status){ return { type: Types.SET_STATUS, status: status }; -} +}; module.exports.refreshSession = function () { return function (dispatch) {