fix(email): remove unused baseUrl variable in buildReminderEmail
Fixes ESLint @typescript-eslint/no-unused-vars error in CI. baseUrl was declared but never used; confirmUrl/cancelUrl correctly use apiUrl instead. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -99,7 +99,6 @@ export function buildReminderEmail(
|
||||
const time = formatDateTime(data.startTime);
|
||||
const groomer = data.groomerName ? ` with ${data.groomerName}` : "";
|
||||
const when = hoursAhead >= 24 ? `tomorrow` : `in ${hoursAhead} hours`;
|
||||
const baseUrl = process.env.APP_URL ?? "http://localhost:5173";
|
||||
const apiUrl = process.env.API_URL ?? "http://localhost:3000";
|
||||
|
||||
const confirmUrl = confirmationToken ? `${apiUrl}/api/book/confirm/${confirmationToken}` : null;
|
||||
|
||||
Reference in New Issue
Block a user