Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adityachoudhari26 committed Dec 26, 2024
1 parent e79e9d3 commit dac1a48
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,7 @@ const getPolicyReleaseChannels = (environmentId: string) =>
)
.where(eq(SCHEMA.environment.id, environmentId))
.then((rows) =>
_.mapValues(
_.keyBy(rows, (r) => r.deploymentId),
(r) => r.channelId,
),
Object.fromEntries(rows.map((r) => [r.deploymentId, r.channelId])),
);

export const handleEnvironmentReleaseChannelUpdate = async (
Expand Down

0 comments on commit dac1a48

Please sign in to comment.