chore (backend-rs): fix clippy warning

This commit is contained in:
naskya 2024-07-26 07:12:20 +09:00
parent 3fb719a9f6
commit c7de3aae3f
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -85,7 +85,7 @@ pub async fn publish_to_stream(
Stream::User { user_id } => format!("user:{user_id}"), Stream::User { user_id } => format!("user:{user_id}"),
Stream::Channel { channel_id } => format!("channelStream:{channel_id}"), Stream::Channel { channel_id } => format!("channelStream:{channel_id}"),
Stream::Note { note_id } => format!("noteStream:{note_id}"), Stream::Note { note_id } => format!("noteStream:{note_id}"),
Stream::NoteEdit => format!("noteUpdatesStream"), Stream::NoteEdit => "noteUpdatesStream".to_owned(),
Stream::Notes => "notesStream".to_owned(), Stream::Notes => "notesStream".to_owned(),
Stream::Main { user_id } => format!("mainStream:{user_id}"), Stream::Main { user_id } => format!("mainStream:{user_id}"),
Stream::Drive { user_id } => format!("driveStream:{user_id}"), Stream::Drive { user_id } => format!("driveStream:{user_id}"),