feat: add file support

This commit is contained in:
Kilian Decaderincourt
2021-11-28 17:48:16 +01:00
parent 6b525d0f64
commit 77479b8a5d
5 changed files with 71 additions and 2 deletions

View File

@ -40,7 +40,7 @@ export class RoomsController {
async create(@Param() params, @Body() payload: Buffer) {
const id = params.id;
await this.storageService.set(id, payload, this.namespace);
this.logger.debug(`Created scene ${id}`);
this.logger.debug(`Created room ${id}`);
return {
id,