Skip to content

Commit

Permalink
Fixed bug in Sim config saga
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndre committed Sep 24, 2020
1 parent d787cc1 commit 6469752
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gw-frontend/app/containers/WirelessNetworkSim/saga.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @Email: alittysw@gmail.com
* @Create At: 2020-09-14 17:19:44
* @Last Modified By: Andre Litty
* @Last Modified At: 2020-09-14 17:19:44
* @Last Modified At: 2020-09-24 11:48:12
* @Description: This is description.
*/

Expand All @@ -17,9 +17,9 @@ import { successGetModemInfo, successSetModem } from './actions';
import { API_URL, ACCESS_TOKEN } from '../App/constants';
import { setError, setSuccess } from '../App/actions';

export function* setModem(conName, operatorApn, pin, username, password) {
export function* setModem({ operatorApn, pin, username, password }) {
try {
const data = { conName, operatorApn, pin, username, password };
const data = { operatorApn, pin, username, password };
const requestURL = `${API_URL}${GSM_PATH_SUFFIX}modem`;
const accessToken = localStorage.getItem(ACCESS_TOKEN);
const options = {
Expand Down

0 comments on commit 6469752

Please sign in to comment.