teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

不要

2019/06/28 06:51

投稿

roooo
roooo

スコア57

title CHANGED
File without changes
body CHANGED
@@ -58,7 +58,7 @@
58
58
  export const sagas = {
59
59
  *doGet() {
60
60
  while (true) {
61
- yield take(actions.setChannelsData);
61
+ yield take(actions.setAAData);
62
62
  try {
63
63
  const res = yield call(
64
64
  apiService_a.get,

2

不要

2019/06/28 06:51

投稿

roooo
roooo

スコア57

title CHANGED
File without changes
body CHANGED
@@ -56,16 +56,16 @@
56
56
  );
57
57
 
58
58
  export const sagas = {
59
- *doGetChannels() {
59
+ *doGet() {
60
60
  while (true) {
61
61
  yield take(actions.setChannelsData);
62
62
  try {
63
- const channels = yield call(
63
+ const res = yield call(
64
64
  apiService_a.get,
65
65
  "hoge",
66
66
  "hogeToken"
67
67
  );
68
- console.log(channels);
68
+ console.log(res);
69
69
  //↑これだと
70
70
 
71
71
  /*

1

不要

2019/06/28 06:50

投稿

roooo
roooo

スコア57

title CHANGED
File without changes
body CHANGED
@@ -51,7 +51,6 @@
51
51
 
52
52
  // newするとこれだと動く
53
53
  apiService_a.get(
54
- "salesapp",
55
54
  "hoge",
56
55
  "hogeToken"
57
56
  );