From 1dfe4371e102814f46902b1706a238de63addfd6 Mon Sep 17 00:00:00 2001 From: Julian Schmidhuber Date: Thu, 7 Oct 2021 16:51:37 +0200 Subject: [PATCH] Fixed crash with negative video amount --- piped/src/structure.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piped/src/structure.rs b/piped/src/structure.rs index cf06c9e..220fbfb 100644 --- a/piped/src/structure.rs +++ b/piped/src/structure.rs @@ -141,6 +141,6 @@ pub struct ChannelSearchItem { pub url: String, pub description: Option, pub subscribers: i32, - pub videos: u32, + pub videos: i32, pub verified: bool, }