fix: add original id to the stream
This commit is contained in:
parent
1a34dee366
commit
10e81de1a6
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ impl MigrationTrait for Migration {
|
|||
redis_conn.del::<_, ()>(key).unwrap();
|
||||
for (j, v) in stream_ids.enumerate() {
|
||||
redis_conn
|
||||
.xadd(key, v, &[("note", &all_elems[j])])
|
||||
.xadd(key, v, &[("note", &all_elems[j][1][1])])
|
||||
.unwrap_or(());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue