CI fix : corrections pour CI production
This commit is contained in:
@@ -1227,6 +1227,8 @@ export async function updateWebImportSourceStatus(
|
||||
* Used to prevent duplicate file storage during email import
|
||||
*/
|
||||
export async function findSourceFileByFileName(userId: number, fileName: string): Promise<any | null> {
|
||||
const db = await getDb();
|
||||
if (!db) return null;
|
||||
const result = await db.select()
|
||||
.from(sourceFiles)
|
||||
.where(and(
|
||||
|
||||
Reference in New Issue
Block a user