Skip to content

Commit b7bf972

Browse files
committed
fix: fix import after bease
1 parent 5c26be7 commit b7bf972

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

api/src/core/adapters/CNLL/getExternalData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import memoize from "memoizee";
33
import { GetSoftwareExternalData, SoftwareExternalData } from "../../ports/GetSoftwareExternalData";
44
import { Source } from "../../usecases/readWriteSillData";
55
import { SchemaOrganization } from "../dbApi/kysely/kysely.database";
6-
import { identifersUtils } from "../../utils";
6+
import { identifersUtils } from "../../../tools/identifiersTools";
77
import { getCnllPrestatairesSill } from "../getCnllPrestatairesSill";
88
import { CnllPrestatairesSill } from "../../ports/GetCnllPrestatairesSill";
99

api/src/core/adapters/dbApi/kysely/migrations/1747296861930-add_source_CNLL.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ export async function up(db: Kysely<any>): Promise<void> {
77
.execute();
88

99
await db.schema.dropType("external_data_origin_type").execute();
10-
await db.schema.createType("external_data_origin_type").asEnum(["wikidata", "HAL", "ComptoirDuLibre", "CNLL"]).execute();
10+
await db.schema
11+
.createType("external_data_origin_type")
12+
.asEnum(["wikidata", "HAL", "ComptoirDuLibre", "CNLL"])
13+
.execute();
1114

1215
await db.schema
1316
.alterTable("sources")

0 commit comments

Comments
 (0)