remove unnecessary check

This commit is contained in:
Alex Holliday committed 2026-03-10 10:44:02 -07:00
1 parent 839f1beb41
commit dc7d442ace
1 file changed
-4
@@ -213,10 +213,6 @@ export class CheckService implements ICheckService {
};
deleteOlderThan = async (date: Date) => {
if (!date) {
throw new AppError({ message: "No date provided", service: SERVICE_NAME, method: "deleteChecksOlderThan", status: 400 });
}
const deletedCount = await this.checksRepository.deleteOlderThan(date);
return deletedCount;
};