Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 143d52e

Browse files
author
Not Officer
committed
added null check
1 parent 8f19baa commit 143d52e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fortnite-API/Objects/V2/BrCosmeticV2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class BrCosmeticV2 : IEquatable<BrCosmeticV2>
3131
[J] public string ShowcaseVideo
3232
{
3333
get => _showcaseVideo;
34-
private set => ShowcaseVideoUri = new Uri(_youtubeBaseUri, _showcaseVideo = value);
34+
private set => ShowcaseVideoUri = _showcaseVideo == null ? null : new Uri(_youtubeBaseUri, _showcaseVideo = value);
3535
}
3636
[I] public Uri ShowcaseVideoUri { get; private set; }
3737
[J] public string DynamicPakId { get; private set; }

0 commit comments

Comments
 (0)