Flag some attributes readonly
[e-mobility-charging-stations-simulator.git] / src / performance / storage / MongoDBStorage.ts
index 5a3783818cba77bcb16bf25e622ae81015f77fe8..b82feb7f7dda123bc20aedffa783fe054e7a1b15 100644 (file)
@@ -7,7 +7,7 @@ import { Storage } from './Storage';
 import { StorageType } from '../../types/Storage';
 
 export class MongoDBStorage extends Storage {
-  private client: MongoClient | null;
+  private readonly client: MongoClient | null;
   private connected: boolean;
 
   constructor(storageURI: string, logPrefix: string) {