Skip to content

Commit

Permalink
fix(138): fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
vanch3d committed Oct 3, 2023
1 parent 4ff41be commit 3aa11f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const mergeAllTopics = (
const adapterTopics = adapters.reduce<string[]>((acc, cur) => {
const type = types?.items?.find((e) => e.id === cur.type)
if (!type) return acc
const topics = discoverAdapterTopics(type, cur.config)
const topics = discoverAdapterTopics(type, cur.config as GenericObjectType)
acc.push(...topics)
// const topics = getAdapterTopics(cur)
// acc.push(...topics.map((e) => e.topic))
Expand Down

0 comments on commit 3aa11f8

Please sign in to comment.