Browse Source

query node - channel creation fixes II

ondratra 3 years ago
parent
commit
ea14a0c1e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      query-node/mappings/src/content/channel.ts

+ 1 - 1
query-node/mappings/src/content/channel.ts

@@ -99,7 +99,7 @@ export async function content_ChannelUpdated(
         db,
         blockNumber: event.blockNumber,
         assets: channelUpdateParameters.assets.unwrapOr([]),
-        contentOwner: convertContentActorToOwner(contentActor, channelId),
+        contentOwner: convertContentActorToOwner(contentActor, channelId.toBn()),
       }
     )