Skip to content

Commit

Permalink
steward asset metadata serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
mfornos committed Oct 24, 2024
1 parent ec2bc00 commit a7f9501
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/server/src/services/agents/steward/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,10 @@ export class DataSteward implements Agent, Queryable {
.pipe(
mergeMap((keys) => {
return keys.map((key) =>
this.#ingress.getStorage(chainId, key).pipe(asSerializable(mapEntry(key, this.#ingress))),
this.#ingress.getStorage(chainId, key).pipe(
mapEntry(key, this.#ingress),
map((x) => asSerializable(x)),
),
)
}),
mergeAll(),
Expand Down

0 comments on commit a7f9501

Please sign in to comment.