mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
load messages
This commit is contained in:
@@ -14,10 +14,12 @@ export class SyncAllRoomMessagesService {
|
||||
) { }
|
||||
|
||||
async execute() {
|
||||
|
||||
|
||||
await this.RoomRepositoryService.list()
|
||||
const allRooms: RoomTable[] = await this.RoomRepositoryService.getRoomList()
|
||||
|
||||
if(allRooms) {
|
||||
console.log('allRooms', allRooms)
|
||||
for(const room of allRooms) {
|
||||
this.MessageRepositoryService.listAllMessagesByRoomId(room.id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user