This commit is contained in:
knuthtimo-lab 2026-01-22 22:05:06 +01:00
parent 59131a54f0
commit f67945d8e7
2 changed files with 12 additions and 1 deletions

View File

@ -166,3 +166,14 @@ model NewsletterSubscription {
@@index([email]) @@index([email])
@@index([createdAt]) @@index([createdAt])
} }
model Lead {
id String @id @default(cuid())
email String
source String @default("reprint-calculator")
reprintCost Float?
updatesPerYear Float?
annualSavings Float?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}

View File

@ -44,7 +44,7 @@ async function runUsingServiceAccount() {
try { try {
const result = await google.indexing('v3').urlNotifications.publish({ const result = await google.indexing('v3').urlNotifications.publish({
auth: client, auth: auth,
requestBody: { requestBody: {
url: url, url: url,
type: 'URL_UPDATED' type: 'URL_UPDATED'