Browse Source

CLI updateChannel - remove unused Raw primitive import

iorveth 4 years ago
parent
commit
27a5719d99
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cli/src/commands/content/updateChannel.ts

+ 2 - 2
cli/src/commands/content/updateChannel.ts

@@ -4,7 +4,7 @@ import { NewAsset} from '@joystream/types/content'
 import {ChannelMetadata} from '@joystream/content-metadata-protobuf'
 import { Vec, Option} from '@polkadot/types';
 import AccountId from '@polkadot/types/generic/AccountId';
-import { Bytes, Raw } from '@polkadot/types/primitive';
+import { Bytes } from '@polkadot/types/primitive';
 
 type ChannelUpdateParametersInput = {
   assets: Option<Vec<NewAsset>>,
@@ -62,7 +62,7 @@ export default class UpdateChannelCommand extends ContentDirectoryCommandBase {
       const serialized = channelMetadata.serializeBinary();
 
       const api = await this.getOriginalApi()
-      
+
       const metaRaw = api.createType('Raw', serialized)
       const meta = new Bytes(api.registry, metaRaw)