| Total Complexity | 1 |
| Total Lines | 9 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import {InjectRepository} from '@nestjs/typeorm'; |
||
| 5 | |||
| 6 | export class QuoteHistoryRepository implements IQuoteHistoryRepository { |
||
| 7 | constructor( |
||
| 8 | @InjectRepository(QuoteHistory) |
||
| 9 | private readonly repository: Repository<QuoteHistory> |
||
| 10 | ) {} |
||
| 11 | |||
| 12 | public save(quoteHistory: QuoteHistory): Promise<QuoteHistory> { |
||
| 13 | return this.repository.save(quoteHistory); |
||
| 14 | } |
||
| 16 |