fix: add original id to the stream
This commit is contained in:
parent
1a34dee366
commit
10e81de1a6
@ -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 New Issue
Block a user