1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-01 03:58:38 -04:00

Hook (almost) everything up to Redux

This commit is contained in:
2016-10-05 13:36:47 -04:00
parent 071b7ff1e3
commit 6257e9193f
27 changed files with 626 additions and 373 deletions

View File

@ -1,6 +1,6 @@
var AccountConstants = require('../constants/AccountConstants');
var ErrorActions = require('ErrorActions');
var ErrorActions = require('./ErrorActions');
var models = require('../models.js');
var Account = models.Account;
@ -75,7 +75,6 @@ function fetchAll() {
url: "account/",
success: function(data, status, jqXHR) {
var e = new Error();
var accounts = [];
e.fromJSON(data);
if (e.isError()) {
ErrorActions.serverError(e);