HomePhabricator
Diffusion Comm a027ed5d94af

[keyserver] move logic to fetch not acknowledged policies to separate function

Description

[keyserver] move logic to fetch not acknowledged policies to separate function

Summary: This is just a refactor, in next diffs I'll introduce changes that will require checking for not acknowledged policies and this will make possible to avoid try {} catch () {} pattern by using simple function call and improve readability.

Test Plan: Maintain previous functionality of this function

Reviewers: inka, michal, przemek

Reviewed By: inka

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D6091

Details

Provenance
kamilAuthored on Dec 29 2022, 1:59 AM
Reviewer
inka
Differential Revision
D6091: [keyserver] move logic to fetch not acknowledged policies to separate function
Parents
rCOMM0cfd72cc50b5: [lib] Move `createSIWEMessage` from `landing` => `lib`
Branches
Unknown
Tags
Unknown