Skip to content

Commit

Permalink
chore(sanity): remove defunct userMetadata mapping (#8476)
Browse files Browse the repository at this point in the history
  • Loading branch information
juice49 authored and pedrobonamin committed Feb 4, 2025
1 parent 553cc2e commit 8173f44
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/sanity/src/core/releases/store/createReleaseStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,6 @@ export function createReleaseStore(context: {
concatWith(
listenQuery(client, QUERY, {}, {tag: 'releases.listen'}).pipe(
tap(() => fetchPending$.next(false)),
map((releases) =>
releases.map(
(releaseDoc: ReleaseDocument): ReleaseDocument => ({
...releaseDoc,
metadata: {...(releaseDoc as any).userMetadata, ...releaseDoc.metadata},
}),
),
),
map((releases) => ({response: releases})),
),
),
Expand Down

0 comments on commit 8173f44

Please sign in to comment.