Skip to content

Commit 1fd03c0

Browse files
committed
fix(api): Fix PriorityInfo serialization
1 parent 47df0e2 commit 1fd03c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/types.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub struct PriorityInfo {
3030
pub origin: String,
3131
pub active: bool,
3232
pub visible: bool,
33-
#[serde(rename = "RGB", skip_serializing_if = "Option::is_none")]
33+
#[serde(skip_serializing_if = "Option::is_none")]
3434
pub value: Option<LedColor>,
3535
}
3636

0 commit comments

Comments
 (0)