diff --git a/GW2SDK/Features/Hero/StoryJournal/Stories/Storyline.cs b/GW2SDK/Features/Hero/StoryJournal/Stories/Storyline.cs
index 55a893182..4b0b4702a 100644
--- a/GW2SDK/Features/Hero/StoryJournal/Stories/Storyline.cs
+++ b/GW2SDK/Features/Hero/StoryJournal/Stories/Storyline.cs
@@ -14,6 +14,7 @@ public sealed record Storyline
/// The display order of the storyline in the story journal.
public required int Order { get; init; }
+ // TODO: should have been IReadOnlyList
/// The IDs of the stories that belong to this storyline.
public required List StoryIds { get; init; }
}
diff --git a/GW2SDK/Features/Hero/StoryJournal/Stories/StorylineJson.cs b/GW2SDK/Features/Hero/StoryJournal/Stories/StorylineJson.cs
index 652013302..eae5be982 100644
--- a/GW2SDK/Features/Hero/StoryJournal/Stories/StorylineJson.cs
+++ b/GW2SDK/Features/Hero/StoryJournal/Stories/StorylineJson.cs
@@ -41,9 +41,11 @@ public static Storyline GetStoryline(this JsonElement json)
Id = id.Map(static value => value.GetStringRequired()),
Name = name.Map(static value => value.GetStringRequired()),
Order = order.Map(static value => value.GetInt32()),
+
+ // TODO: should have been IReadOnlyList
StoryIds = stories.Map(
static values => values.GetList(static value => value.GetInt32())
- )
+ ).ToList()
};
}
}