Skip to content

Commit

Permalink
Updated project to use C# 12
Browse files Browse the repository at this point in the history
  • Loading branch information
abjerner committed Sep 12, 2024
1 parent 8a3c18f commit 4850617
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public DreamBrokerChannel[] GetChannels() {
return _keyValueService
.FindByKeyPrefix("Limbo.Umbraco.DreamBroker.Channels.")?.Values
.Select(x => JsonUtils.ParseJsonObject(x!, DreamBrokerChannel.Parse)!)
.ToArray() ?? Array.Empty<DreamBrokerChannel>();
.ToArray() ?? [];
}

/// <summary>
Expand Down

0 comments on commit 4850617

Please sign in to comment.