diff --git a/.gitignore b/.gitignore index 80fc74680..07a98065a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ target/ .idea/ +.vscode/ pom.xml.tag pom.xml.releaseBackup pom.xml.versionsBackup diff --git a/src/main/java/ai/elimu/util/db/DbContentImportHelper.java b/src/main/java/ai/elimu/util/db/DbContentImportHelper.java index 662685d14..a592060b2 100644 --- a/src/main/java/ai/elimu/util/db/DbContentImportHelper.java +++ b/src/main/java/ai/elimu/util/db/DbContentImportHelper.java @@ -261,7 +261,8 @@ public synchronized void performDatabaseContentImport(Environment environment, L // TODO: storyBook.setContentLicense(); // TODO: storyBook.setAttributionUrl(); storyBook.setReadingLevel(storyBookGson.getReadingLevel()); - Image coverImage = imageDao.read(storyBookGson.getCoverImage().getId()); + // Image coverImage = imageDao.read(storyBookGson.getCoverImage().getId()); + Image coverImage = imageDao.read(1L); storyBook.setCoverImage(coverImage); storyBookDao.create(storyBook); diff --git a/src/main/resources/config.properties b/src/main/resources/config.properties index 888396849..78edb1ebd 100644 --- a/src/main/resources/config.properties +++ b/src/main/resources/config.properties @@ -12,7 +12,7 @@ pom.version=${project.version} # The language of the educational content # See https://github.com/elimu-ai/model/blob/main/src/main/java/ai/elimu/model/enums/Language.java -content.language=ENG +content.language=HIN # Create free API key using https://www.covalenthq.com/platform/#/auth/register/ # It will be used to get ETH transaction data from https://www.covalenthq.com/docs/api/#get-/v1/{chain_id}/address/{address}/transactions_v2/