Rename alliance derive location (#5114)

This commit is contained in:
Jaco
2022-07-29 09:31:37 +03:00
committed by GitHub
parent 7a545de0c2
commit 85fc0bff7d
3 changed files with 3 additions and 3 deletions
@@ -58,7 +58,7 @@ export function hasProposals (section: Collective): (instanceId: string, api: De
export function proposals (section: Collective): (instanceId: string, api: DeriveApi) => () => Observable<DeriveCollectiveProposal[]> {
return withSection(section, (query, api) =>
(): Observable<DeriveCollectiveProposal[]> =>
api.derive[section].proposalHashes().pipe(
api.derive[section as 'council'].proposalHashes().pipe(
switchMap((all) => _proposalsFrom(api, query, all))
)
);