diff --git a/dump.rdb b/dump.rdb new file mode 100644 index 0000000..251dbc2 Binary files /dev/null and b/dump.rdb differ diff --git a/src/chat/chat.service.ts b/src/chat/chat.service.ts index c92a49e..1f78715 100644 --- a/src/chat/chat.service.ts +++ b/src/chat/chat.service.ts @@ -340,9 +340,12 @@ export class ChatService { .orderBy('isManager', 'DESC') .getRawMany(); + const isOrganization: boolean = count.length == 2 ? false: true + return { thisGroup, member: count, + isOrganization }; }