1 import { parseItemRevision } from '@proton/pass/lib/items/item.parser';
2 import { updateItemFlags } from '@proton/pass/lib/items/item.requests';
3 import { setItemFlags } from '@proton/pass/store/actions';
4 import { createRequestSaga } from '@proton/pass/store/request/sagas';
6 export default createRequestSaga({
8 call: async ({ shareId, itemId, SkipHealthCheck }) => {
9 const encryptedItem = await updateItemFlags(shareId, itemId, { SkipHealthCheck });
10 const item = await parseItemRevision(shareId, encryptedItem);
11 return { shareId, itemId, item: item };