Fix ESLint errors: replace any types, escape HTML entities, convert require to imports, ignore config files
This commit is contained in:
1 parent
3d8ba5b8f0
commit
8b189f4caa
8 files changed
+1418
-16
No files matched your search
@@ -2,14 +2,13 @@ import { NextRequest, NextResponse } from 'next/server';
|
||||
import { doc, getDoc, collection, getDocs, updateDoc } from 'firebase/firestore';
|
||||
import { db } from '@/lib/firebase';
|
||||
import { admin } from '@/lib/firebase-admin';
|
||||
|
||||
const nodemailer = require('nodemailer');
|
||||
import nodemailer from 'nodemailer';
|
||||
|
||||
function generatePrayerEmailHTML(message: string, subject: string) {
|
||||
// Parse the message to extract prayer details
|
||||
const lines = message.split('\n');
|
||||
let currentPrayer = null;
|
||||
let prayers = [];
|
||||
const prayers = [];
|
||||
let summarySection = false;
|
||||
|
||||
for (const line of lines) {
|
||||
|
||||
Reference in new issue
Block a user