Rename and re-type generateAuthActions export

This commit is contained in:
Kyle Corbelli committed 2017-09-03 06:50:52 -07:00
1 parent 57e3e27d08
commit 2a5fbe140c
6 files changed
+11 -9

No files matched your search

+2 -2
View File
@@ -89,7 +89,7 @@ exports.signOutRequestFailed = function () { return ({
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Async Redux Thunk actions:
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
var theActionsExportThatShouldBeRenamed = function (authUrl) {
var generateAuthActions = function (authUrl) {
var registerUser = function (userRegistrationDetails) { return function (dispatch) {
return __awaiter(this, void 0, void 0, function () {
var firstName, email, password, passwordConfirmation, response, userAttributes, error_1;
@@ -238,5 +238,5 @@ var theActionsExportThatShouldBeRenamed = function (authUrl) {
signOutUser: signOutUser,
};
};
exports.default = theActionsExportThatShouldBeRenamed;
exports.default = generateAuthActions;
//# sourceMappingURL=actions.js.map
+1 -1
View File
@@ -1,7 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var actions_1 = require("./actions");
exports.theActionsExportThatShouldBeRenamed = actions_1.default;
exports.generateAuthActions = actions_1.default;
var reducers_1 = require("./reducers");
exports.reduxTokenAuthReducer = reducers_1.default;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////