Skip to content

Commit

Permalink
AMP-30885: Configure Internal projects for Ecowas
Browse files Browse the repository at this point in the history
  • Loading branch information
brianbrix committed Nov 4, 2024
1 parent babd94f commit 5267ec8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ public static void updateFileStatus(ImportedFilesRecord importedFilesRecord, Imp
logger.info("Updating file status to " + status);
Session session = PersistenceManager.getRequestDBSession();
session.saveOrUpdate(importedFilesRecord);
for (ImportedProject project : importedProjects) {
project.setImportedFilesRecord(importedFilesRecord); // Set the FK reference
}
importedFilesRecord.setImportedProjects(importedProjects);
importedFilesRecord.setImportStatus(status);
session.saveOrUpdate(importedFilesRecord);
Expand Down

0 comments on commit 5267ec8

Please sign in to comment.