"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getConfig = getConfig;
exports.getConfigError = getConfigError;

var _constants = require("./constants");

function getConfig(data) {
  return {
    type: _constants.GET_CONFIG,
    data: data
  };
}

function getConfigError(error) {
  return {
    type: _constants.GET_ERROR_CONFIG,
    error: error
  };
}