Final
This commit is contained in:
parent
59131a54f0
commit
f67945d8e7
|
|
@ -165,4 +165,15 @@ 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
|
||||||
}
|
}
|
||||||
|
|
@ -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'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue