From 10e81de1a62678b72827c93ee52d04509973d899 Mon Sep 17 00:00:00 2001 From: Namekuji Date: Sun, 6 Aug 2023 15:04:14 -0400 Subject: [PATCH] fix: add original id to the stream --- .../migration/src/m20230806_170616_fix_antenna_stream_ids.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/native-utils/migration/src/m20230806_170616_fix_antenna_stream_ids.rs b/packages/backend/native-utils/migration/src/m20230806_170616_fix_antenna_stream_ids.rs index d8261b9a2..ea23f4319 100644 --- a/packages/backend/native-utils/migration/src/m20230806_170616_fix_antenna_stream_ids.rs +++ b/packages/backend/native-utils/migration/src/m20230806_170616_fix_antenna_stream_ids.rs @@ -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(()); }