mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-27 13:49:10 +02:00
fix: db type (#3180)
This commit is contained in:
parent
53c82d798f
commit
909d709089
@ -1,5 +1,5 @@
|
|||||||
import { IImportTogglesStore } from './import-toggles-store-type';
|
import { IImportTogglesStore } from './import-toggles-store-type';
|
||||||
import { Knex } from 'knex';
|
import { Db } from '../../db/db';
|
||||||
|
|
||||||
const T = {
|
const T = {
|
||||||
featureStrategies: 'feature_strategies',
|
featureStrategies: 'feature_strategies',
|
||||||
@ -7,9 +7,9 @@ const T = {
|
|||||||
featureTag: 'feature_tag',
|
featureTag: 'feature_tag',
|
||||||
};
|
};
|
||||||
export class ImportTogglesStore implements IImportTogglesStore {
|
export class ImportTogglesStore implements IImportTogglesStore {
|
||||||
private db: Knex;
|
private db: Db;
|
||||||
|
|
||||||
constructor(db: Knex) {
|
constructor(db: Db) {
|
||||||
this.db = db;
|
this.db = db;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user