Updates
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { GrabUserAPIPathParams } from "../../../types";
|
||||
// import grabDbNames from "../../grab-db-names";
|
||||
|
||||
export default function grabUserDSQLAPIPath({
|
||||
apiVersion,
|
||||
@@ -11,6 +12,8 @@ export default function grabUserDSQLAPIPath({
|
||||
const finalParadigm = paradigm || "auth";
|
||||
const finalAction = action || "login";
|
||||
|
||||
// const { dbFullName } = grabDbNames({ dbName: database });
|
||||
|
||||
const finalDatabase = database || process.env.DSQL_DB_NAME || "datasquirel";
|
||||
|
||||
let finalPath = `/api/${finalAPIVersion}/users/${finalParadigm}/${finalDatabase}`;
|
||||
|
||||
Reference in New Issue
Block a user