File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export class RoomsController {
2424 @Header ( 'content-type' , 'application/octet-stream' )
2525 async findOne ( @Param ( ) params , @Res ( ) res : Response ) : Promise < void > {
2626 const data = await this . storageService . get ( params . id , this . namespace ) ;
27- this . logger . debug ( `Get room ${ params . id } ` ) ;
27+ this . logger . log ( `Get room ${ params . id } ` ) ;
2828
2929 if ( ! data ) {
3030 throw new NotFoundException ( ) ;
@@ -38,11 +38,9 @@ export class RoomsController {
3838
3939 @Put ( ':id' )
4040 async create ( @Param ( ) params , @Body ( ) payload : Buffer ) {
41- console . log ( payload )
42- console . log ( params )
4341 const id = params . id ;
4442 await this . storageService . set ( id , payload , this . namespace ) ;
45- this . logger . debug ( `Created room ${ id } `) ;
43+ this . logger . log ( `PUT room ${ id } `) ;
4644
4745 return {
4846 id,
You can’t perform that action at this time.
0 commit comments