File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ export class XivapiService {
241241 options : XivapiOptions = { } ) : Observable < { [ index : string ] : MarketboardItem } > {
242242 options . extraQueryParams = options . extraQueryParams || { } ;
243243 options . extraQueryParams [ 'dc' ] = datacenter ;
244- return this . request < { [ index : string ] : MarketboardItem } > ( `/market/items /${ itemId } ` , options ) ;
244+ return this . request < { [ index : string ] : MarketboardItem } > ( `/market/item /${ itemId } ` , options ) ;
245245 }
246246
247247 protected request < T > ( endpoint : string , params ?: XivapiOptions ) : Observable < T > {
@@ -278,7 +278,7 @@ export class XivapiService {
278278 Object . keys ( options . extraQueryParams )
279279 . forEach ( key => {
280280 // @ts -ignore
281- queryString . set ( key , options . extraQueryParams [ key ] . toString ( ) ) ;
281+ queryString = queryString . set ( key , options . extraQueryParams [ key ] . toString ( ) ) ;
282282 } ) ;
283283 }
284284 return queryString ;
You can’t perform that action at this time.
0 commit comments