Read omnivore API key from env

This commit is contained in:
Lewis Dale 2024-03-01 10:46:50 +00:00
parent d491653fff
commit 6e4732bfd6

View File

@ -1,5 +1,5 @@
const fs = require('node:fs');
const apiKey = 'bf7b63c4-b6f2-4568-b554-4a3440460070';
const apiKey = process.env.OMNIVORE_API_KEY;
const cacheFile = '.cache/links.json';
const query = `query Search($after: String, $first: Int, $query: String, $format: String, $includeContent: Boolean) {