Fix imag-mail to list from appropriate collection
This commit is contained in:
parent
190da895f9
commit
09d34783cb
1 changed files with 2 additions and 1 deletions
|
@ -141,8 +141,9 @@ fn list(rt: &Runtime) {
|
||||||
}
|
}
|
||||||
|
|
||||||
let _ = rt.store()
|
let _ = rt.store()
|
||||||
.retrieve_for_module("ref")
|
.entries()
|
||||||
.map_err_trace_exit_unwrap(1)
|
.map_err_trace_exit_unwrap(1)
|
||||||
|
.filter(|id| id.is_in_collection(&["mail"]))
|
||||||
.filter_map(|id| {
|
.filter_map(|id| {
|
||||||
rt.store()
|
rt.store()
|
||||||
.get(id)
|
.get(id)
|
||||||
|
|
Loading…
Reference in a new issue