Update ENV usage

This commit is contained in:
Benjamin Toby 2023-11-21 07:24:13 +01:00
parent a81c1f0a43
commit 809ccf2134

View File

@ -27,7 +27,7 @@ export default async function BlogIndex() {
//* Data fetching
/////////////////////////////////////////////
const postsResponse = await datasquirel.get({
key: process.env.DSQL_API_KEY,
key: process.env.DATASQUIREL_API_KEY,
db: process.env.DB_NAME,
query: "select title,slug,excerpt,date_created from blog_posts limit 10",
});