fix: reimporting books will update the import time, being consistent with update time, closes #1200 (#1203)

This commit is contained in:
Huang Xin
2025-05-20 10:40:41 +08:00
committed by GitHub
parent def157cacb
commit 32bcfda9ad
@@ -195,6 +195,7 @@ export abstract class BaseAppService implements AppService {
if (!transient) {
existingBook.deletedAt = null;
}
existingBook.createdAt = Date.now();
existingBook.updatedAt = Date.now();
}