diff --git a/query-node/mappings/content/utils.ts b/query-node/mappings/content/utils.ts index a59f78106d..1f7c88b672 100644 --- a/query-node/mappings/content/utils.ts +++ b/query-node/mappings/content/utils.ts @@ -412,8 +412,7 @@ async function updateVideoLicense( // Update license (and potentially remove foreign key reference) // FIXME: Note that we MUST to provide "null" here in order to unset a relation, - // even though the model typings itself are not aware that "null" is a valid value. - // See: https://github.com/typeorm/typeorm/issues/2934 + // See: https://github.com/Joystream/hydra/issues/435 video.license = license as License | undefined video.updatedAt = new Date(ctx.event.blockTimestamp) await store.save