make user_name optional

This commit is contained in:
cel 🌸 2023-01-16 05:03:20 +00:00
parent daad9596d0
commit 65a62d6118
Signed by: cel
GPG Key ID: 48E29AF13B5F1349
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ pub struct UserPlayingNowPayload {
/// Type of the [`UserPlayingNowPayload::listens`] field.
#[derive(Debug, Deserialize)]
pub struct UserPlayingNowListen {
pub user_name: String,
pub user_name: Option<String>,
pub inserted_at: String,
pub recording_msid: String,
pub track_metadata: UserPlayingNowTrackMetadata,