Archive und Logging
This commit is contained in:
@@ -50,6 +50,16 @@ export class HelperService {
|
||||
return found.system;
|
||||
}
|
||||
|
||||
async getSystemOCylinder(cylinder: Cylinder): Promise<KeySystem> {
|
||||
const k = await this.cylinderRepository.findOne({
|
||||
where: { id: cylinder.id },
|
||||
relations: ['system'],
|
||||
withDeleted: true,
|
||||
});
|
||||
this.cache()
|
||||
return k.system;
|
||||
}
|
||||
|
||||
async cache() {
|
||||
const value = await this.cacheManager.store.keys()
|
||||
console.log(value)
|
||||
|
||||
Reference in New Issue
Block a user