This commit is contained in:
Benjamin Toby 2024-12-10 19:44:59 +01:00
parent 8fe65e5c8d
commit ef6a7f1411
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ module.exports = function getAuthCookieNames(params) {
process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME || "one-time-code";
const targetDatabase =
params?.database ||
params?.database?.replace(/^datasquirel_user_\d+_/, "") ||
process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/, "");
let keyCookieName = cookiesPrefix;

View File

@ -1,6 +1,6 @@
{
"name": "@moduletrace/datasquirel",
"version": "2.9.1",
"version": "2.9.2",
"description": "Cloud-based SQL data management tool",
"main": "index.js",
"bin": {