mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
take one from server info to prevent multiple reqs to registries (#2032)
This commit is contained in:
@@ -176,6 +176,7 @@ export class MarketplaceService implements AbstractMarketplaceService {
|
||||
|
||||
fetchInfo$(url: string): Observable<StoreInfo> {
|
||||
return this.patch.watch$('server-info').pipe(
|
||||
take(1),
|
||||
switchMap(serverInfo => {
|
||||
const qp: RR.GetMarketplaceInfoReq = {
|
||||
'server-id': serverInfo.id,
|
||||
|
||||
Reference in New Issue
Block a user