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

Commit 1c7a466

Browse files
should use central link generator
1 parent ef93484 commit 1c7a466

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/SqlStreamStore.HAL/Resources/StreamResource.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,7 @@ public static Link Metadata(ReadStreamOperation operation)
196196
$"{operation.StreamId}/metadata");
197197

198198
public static Link Index()
199-
=> new Link(
200-
Constants.Relations.Index,
201-
"..");
199+
=> SqlStreamStore.HAL.Links.Index("..");
202200

203201
public static IEnumerable<Link> Navigation(ReadStreamPage page, ReadStreamOperation operation)
204202
{

0 commit comments

Comments
 (0)