mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 22:00:29 +05:30
Fix npe.
This commit is contained in:
parent
0129cc58ce
commit
4c08c350e8
@ -343,7 +343,7 @@ public class ResponseHelper {
|
||||
StreamInfoItem stream = (StreamInfoItem) item;
|
||||
items.add(new SearchStream(item.getName(), rewriteURL(item.getThumbnailUrl()),
|
||||
item.getUrl().substring(23), stream.getTextualUploadDate(), stream.getUploaderName(),
|
||||
stream.getUploaderUrl().substring(23), stream.getViewCount(), stream.getDuration(),
|
||||
optionalSubstring(stream.getUploaderUrl(), 23), stream.getViewCount(), stream.getDuration(),
|
||||
stream.isUploaderVerified()));
|
||||
break;
|
||||
case CHANNEL:
|
||||
|
Loading…
Reference in New Issue
Block a user