@@ -49,10 +49,10 @@ public async Task read_head_link_no_messages(string path, string root, HttpStatu
4949 . FromRequestMessage ( response . RequestMessage )
5050 . Index ( )
5151 . Find ( )
52- . Add ( Constants . Relations . Self , $ "{ path } ?{ LastLinkQuery } ")
52+ . Add ( Constants . Relations . Self , $ "{ path } ?{ LastLinkQuery } ", ! IsAllStream ( path ) ? StreamId : null )
5353 . Add ( Constants . Relations . Last , $ "{ path } ?{ LastLinkQuery } ")
5454 . Add ( Constants . Relations . First , $ "{ path } ?{ FirstLinkQuery } ")
55- . Add ( Constants . Relations . Feed , $ "{ path } ?{ LastLinkQuery } ") ;
55+ . Add ( Constants . Relations . Feed , $ "{ path } ?{ LastLinkQuery } ", ! IsAllStream ( path ) ? StreamId : null ) ;
5656
5757 if ( ! IsAllStream ( path ) )
5858 {
@@ -88,11 +88,11 @@ public async Task read_head_link_when_multiple_pages(string path, string root)
8888 . FromRequestMessage ( response . RequestMessage )
8989 . Index ( )
9090 . Find ( )
91- . Add ( Constants . Relations . Self , $ "{ path } ?{ LastLinkQuery } ")
91+ . Add ( Constants . Relations . Self , $ "{ path } ?{ LastLinkQuery } ", ! IsAllStream ( path ) ? StreamId : null )
9292 . Add ( Constants . Relations . Last , $ "{ path } ?{ LastLinkQuery } ")
9393 . Add ( Constants . Relations . Previous , $ "{ path } ?d=b&m=20&p=9&e=0")
9494 . Add ( Constants . Relations . First , $ "{ path } ?{ FirstLinkQuery } ")
95- . Add ( Constants . Relations . Feed , $ "{ path } ?{ LastLinkQuery } ") ;
95+ . Add ( Constants . Relations . Feed , $ "{ path } ?{ LastLinkQuery } ", ! IsAllStream ( path ) ? StreamId : null ) ;
9696
9797 if ( ! IsAllStream ( $ "{ path } ") )
9898 {
@@ -122,10 +122,10 @@ public async Task read_first_link(string path, string root)
122122 . FromRequestMessage ( response . RequestMessage )
123123 . Index ( )
124124 . Find ( )
125- . Add ( Constants . Relations . Self , $ "{ path } ?{ FirstLinkQuery } ")
125+ . Add ( Constants . Relations . Self , $ "{ path } ?{ FirstLinkQuery } ", ! IsAllStream ( path ) ? StreamId : null )
126126 . Add ( Constants . Relations . Last , $ "{ path } ?{ LastLinkQuery } ")
127127 . Add ( Constants . Relations . First , $ "{ path } ?{ FirstLinkQuery } ")
128- . Add ( Constants . Relations . Feed , $ "{ path } ?{ FirstLinkQuery } ") ;
128+ . Add ( Constants . Relations . Feed , $ "{ path } ?{ FirstLinkQuery } ", ! IsAllStream ( path ) ? StreamId : null ) ;
129129
130130 if ( ! IsAllStream ( path ) )
131131 {
@@ -151,11 +151,11 @@ public async Task read_first_link_when_multiple_pages(string path, string root)
151151 . FromRequestMessage ( response . RequestMessage )
152152 . Index ( )
153153 . Find ( )
154- . Add ( Constants . Relations . Self , $ "{ path } ?{ FirstLinkQuery } ")
154+ . Add ( Constants . Relations . Self , $ "{ path } ?{ FirstLinkQuery } ", ! IsAllStream ( path ) ? StreamId : null )
155155 . Add ( Constants . Relations . Last , $ "{ path } ?{ LastLinkQuery } ")
156156 . Add ( Constants . Relations . Next , $ "{ path } ?d=f&m=20&p=20&e=0")
157157 . Add ( Constants . Relations . First , $ "{ path } ?{ FirstLinkQuery } ")
158- . Add ( Constants . Relations . Feed , $ "{ path } ?{ FirstLinkQuery } ") ;
158+ . Add ( Constants . Relations . Feed , $ "{ path } ?{ FirstLinkQuery } ", ! IsAllStream ( path ) ? StreamId : null ) ;
159159
160160 if ( ! IsAllStream ( $ "{ path } ") )
161161 {
0 commit comments