change list

This commit is contained in:
Peter Maquiran
2024-06-05 12:25:44 +01:00
parent 3bb0b0626b
commit b596dfbaeb
2 changed files with 28 additions and 33 deletions
@@ -32,15 +32,10 @@ export class RoomRepositoryService {
async create(data: RoomInputDTO) {
this.list()
const result = await this.roomRemoteDataSourceService.createRoom(data)
if(result.isOk()) {
console.log('result', result)
this.roomMemoryDataSourceService.dispatch( addRoom(result.value) )
this.roomMemoryDataSourceService.dispatch(addRoom(result.value))
this.roomLocalDataSourceService.createRoom(result.value.data)
}