chore (backend-rs): remove unneeded reference

This commit is contained in:
naskya 2024-04-21 22:40:58 +09:00
parent 2fa0ca355d
commit 9b91035a79
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -8,8 +8,8 @@ pub fn add_note_to_antenna(antenna_id: &str, note_id: &str) -> Result<(), Error>
redis_conn()?.xadd_maxlen(
redis_key(format!("antennaTimeline:{}", antenna_id)),
StreamMaxlen::Approx(200),
format!("{}-*", get_timestamp(&note_id)),
&[("note", &note_id)],
format!("{}-*", get_timestamp(note_id)),
&[("note", note_id)],
)?;
let stream = Stream::Antenna {