This commit is contained in:
Benjamin Toby
2024-11-06 12:13:31 +01:00
parent 19155164c5
commit 06ff13c653
240 changed files with 574 additions and 694 deletions
@@ -5,6 +5,8 @@ const decrypt = require("./decrypt");
/** @type {import("@/package-shared/types").CheckApiCredentialsFn} */
const grabApiCred = ({ key, database, table }) => {
if (!key) return undefined;
try {
const allowedKeysPath = process.env.DSQL_API_KEYS_PATH;