Skip to content

Commit

Permalink
Minor clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
islathehut committed Jan 27, 2025
1 parent eb203dc commit 4eb92ea
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/backend/src/nest/storage/storage.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ import {
getReqFieldValue,
keyFromCertificate,
} from '@quiet/identity'
import { EventsType, type KeyValueType } from '@orbitdb/core'
import { EventEmitter } from 'events'
import { type PeerId } from '@libp2p/interface'
import {
CommunityMetadata,
ConnectionProcessInfo,
PublicChannel,
SaveCSRPayload,
SaveCertificatePayload,
SocketActionTypes,
Expand All @@ -27,7 +25,6 @@ import fs from 'fs'
import { IPFS_REPO_PATCH, ORBIT_DB_DIR, QUIET_DIR } from '../const'
import { LocalDbService } from '../local-db/local-db.service'
import { createLogger } from '../common/logger'
import { PublicChannelsRepo } from '../common/types'
import { removeFiles, removeDirs, createPaths } from '../common/utils'
import { StorageEvents } from './storage.types'
import { CertificatesStore } from './certificates/certificates.store'
Expand All @@ -42,7 +39,6 @@ import { ChannelsService } from './channels/channels.service'
@Injectable()
export class StorageService extends EventEmitter {
private peerId: PeerId | null = null
private certificates: EventsType<string> | null

private readonly logger = createLogger(StorageService.name)

Expand Down Expand Up @@ -347,8 +343,6 @@ export class StorageService extends EventEmitter {

await this.channelsService.clean()

this.certificates = null

this.certificatesRequestsStore.clean()
this.certificatesStore.clean()
this.communityMetadataStore.clean()
Expand Down

0 comments on commit 4eb92ea

Please sign in to comment.