Skip to content

Commit

Permalink
feat(OY-26537): OS changelog package activity
Browse files Browse the repository at this point in the history
  • Loading branch information
pkim-gswell committed Dec 19, 2023
1 parent 96a215c commit bb67cc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/data/handlers/sink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,11 @@ export const onemac_changelog = async (event: Event) => {
// omit delete
if (!REC.value) return;

// omit legacy
const record = JSON.parse(decode(REC.value));
// omit legacy
if (record?.origin !== "micro") return;
// omit new submission
if (!record?.actionType) return;

// include package actions
const packageId = decode(REC.key);
Expand Down

0 comments on commit bb67cc7

Please sign in to comment.