update fauna integration with vercel

This commit is contained in:
Divyam Ahuja 2022-02-22 17:42:26 +05:30
parent fca5951eb1
commit b530f19075
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ type FaunaQueryResponse = {
} }
const client = new faunadb.Client({ const client = new faunadb.Client({
secret: process.env.FAUNA_SECRET || "", secret: process.env.FAUNA_ADMIN_KEY || "",
domain: 'db.us.fauna.com', domain: 'db.us.fauna.com',
port: 443, port: 443,
scheme: 'https' scheme: 'https'

View file

@ -8,7 +8,7 @@ type Data = {
}; };
const client = new faunadb.Client({ const client = new faunadb.Client({
secret: process.env.FAUNA_SECRET || "", secret: process.env.FAUNA_ADMIN_KEY || "",
domain: 'db.us.fauna.com', domain: 'db.us.fauna.com',
port: 443, port: 443,
scheme: 'https' scheme: 'https'