File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/server/services/blocks Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ export class BlocksServices {
1616 patches,
1717 } ;
1818 this . services . pubsub . publish ( `__block:${ id } ` , data ) . catch ( ( error ) => {
19+ // tslint:disable-next-line:no-console
1920 console . error ( 'Error publishing block patches' , error ) ;
2021 } ) ;
2122 return { block} ;
@@ -32,6 +33,7 @@ export class BlocksServices {
3233 public async remove ( id : string ) {
3334 await this . store . remove ( id ) ;
3435 this . services . pubsub . publish ( `__block:${ id } ` , { deleted : true } ) . catch ( ( error ) => {
36+ // tslint:disable-next-line:no-console
3537 console . error ( 'Error publishing block deletion' , error ) ;
3638 } ) ;
3739 }
@@ -43,6 +45,7 @@ export class BlocksServices {
4345 const { store} = this ;
4446 const { block} = await store . edit ( id , patches ) ;
4547 this . services . pubsub . publish ( `__block:${ id } ` , { patches} ) . catch ( ( error ) => {
48+ // tslint:disable-next-line:no-console
4649 console . error ( 'Error publishing block patches' , error ) ;
4750 } ) ;
4851 const expectedBlockSeq = seq + patches . length - 1 ;
You can’t perform that action at this time.
0 commit comments