質問編集履歴

1

Typo

2019/06/12 08:21

投稿

tajihiro
tajihiro

スコア14

test CHANGED
File without changes
test CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  |> Enum.map(&(elem(&1, 1)))
16
16
 
17
- |> Enum.group_by(&{&1.request_id, &1.ticket_no})
17
+ |> Enum.group_by(&{&1.id, &1.name})
18
18
 
19
19
  |> Enum.map(&(format_data(&1)))
20
20
 
@@ -44,7 +44,7 @@
44
44
 
45
45
  |> Flow.map(&(elem(&1, 1)))
46
46
 
47
- |> Flow.group_by(&{&1.request_id, &1.ticket_no})
47
+ |> Flow.group_by(&{&1.id, &1.name})
48
48
 
49
49
  |> Flow.map(&(format_data(&1)))
50
50