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

Commit 8fc61e9

Browse files
doesn't need to be a number
1 parent 2d14e5d commit 8fc61e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SqlStreamStore.HAL/Resources/LinkFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ namespace SqlStreamStore.HAL.Resources
33
internal static class LinkFormatter
44
{
55
private static string FormatLink(string baseAddress, string direction, int maxCount, long position, bool prefetch)
6-
=> $"{baseAddress}?d={direction}&m={maxCount}&p={position}{(prefetch ? "&e=1" : string.Empty)}";
6+
=> $"{baseAddress}?d={direction}&m={maxCount}&p={position}{(prefetch ? "&e" : string.Empty)}";
77

88
public static string FormatForwardLink(string baseAddress, int maxCount, long position, bool prefetch)
99
=> FormatLink(baseAddress, "f", maxCount, position, prefetch);

0 commit comments

Comments
 (0)