refactor: save settings service

This commit is contained in:
Ahmed Bouhuolia
2025-01-08 17:17:01 +02:00
parent ee284196eb
commit 6f870ea1e1
10 changed files with 118 additions and 21 deletions

View File

@@ -6,12 +6,12 @@ import {
} from './types/TransactionsLocking.types';
import { Inject, Injectable } from '@nestjs/common';
import { SettingsStore } from '../Settings/SettingsStore';
import { SETTINGS } from '../Settings/Settings.module';
import { SETTINGS_PROVIDER } from '../Settings/Settings.types';
@Injectable()
export class TransactionsLockingRepository {
constructor(
@Inject(SETTINGS) private readonly settingsStore: SettingsStore,
@Inject(SETTINGS_PROVIDER) private readonly settingsStore: SettingsStore,
) {}
/**