Skip to content

Commit

Permalink
Jangcho (#103)
Browse files Browse the repository at this point in the history
* fix: 클러스터 빌드를 위한 도커파일, typeorm synchronize 옵션 수정

* chore: AWS 만료로 인한 CI/CD 중단

* fix(channels): change '/all' totalsize logics
  • Loading branch information
cjho0316 authored Dec 28, 2023
1 parent 78c6686 commit 6c6a19a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/channels/channels.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import { DmChannelListReturnDto } from './dto/dmchannel-list-return.dto';
import { UpdateChannelPwdParamDto } from './dto/update-channel-pwd-param.dto';
import moment from 'moment';
import { channel } from 'diagnostics_channel';
import { In } from 'typeorm';

@Injectable()
export class ChannelsService {
Expand Down Expand Up @@ -550,7 +551,7 @@ export class ChannelsService {
await this.channelsRepository.findAllChannels(userId, page);
const totalDataSize: number = await this.channelsRepository.count({
where: {
channelType: ChannelType.PUBLIC || ChannelType.PROTECTED,
channelType: In([ChannelType.PUBLIC, ChannelType.PROTECTED]),
},
});
if (!channels) {
Expand Down

0 comments on commit 6c6a19a

Please sign in to comment.