diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-08-25 17:48:12 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:44 +0200 |
| commit | c47a27b826f7d76410308a4151611a366f9eaf46 (patch) | |
| tree | c1ca374204714cedabcacb8620848b903a0bf8d6 /src/api/sagas/profile.js | |
| parent | 1ddbbd3563af77a218020021ea50a8832900b4db (diff) | |
Fetch and display datacenter topology
Diffstat (limited to 'src/api/sagas/profile.js')
| -rw-r--r-- | src/api/sagas/profile.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/api/sagas/profile.js b/src/api/sagas/profile.js deleted file mode 100644 index 3c4e1825..00000000 --- a/src/api/sagas/profile.js +++ /dev/null @@ -1,12 +0,0 @@ -import {call, put} from "redux-saga/effects"; -import {deleteCurrentUserSucceeded} from "../../actions/users"; -import {deleteUser} from "../routes/users"; - -export function* onDeleteCurrentUser(action) { - try { - yield call(deleteUser, action.userId); - yield put(deleteCurrentUserSucceeded()); - } catch (error) { - console.log(error); - } -} |
