mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 15:27:46 +00:00
remove console log and lint
This commit is contained in:
@@ -3,13 +3,13 @@ import { z } from "zod";
|
|||||||
import { THsmServiceFactory } from "@app/ee/services/hsm/hsm-service";
|
import { THsmServiceFactory } from "@app/ee/services/hsm/hsm-service";
|
||||||
import { crypto } from "@app/lib/crypto/cryptography";
|
import { crypto } from "@app/lib/crypto/cryptography";
|
||||||
import { QueueWorkerProfile } from "@app/lib/types";
|
import { QueueWorkerProfile } from "@app/lib/types";
|
||||||
|
import { TKmsRootConfigDALFactory } from "@app/services/kms/kms-root-config-dal";
|
||||||
import { TSuperAdminDALFactory } from "@app/services/super-admin/super-admin-dal";
|
import { TSuperAdminDALFactory } from "@app/services/super-admin/super-admin-dal";
|
||||||
|
|
||||||
import { BadRequestError } from "../errors";
|
import { BadRequestError } from "../errors";
|
||||||
import { removeTrailingSlash } from "../fn";
|
import { removeTrailingSlash } from "../fn";
|
||||||
import { CustomLogger } from "../logger/logger";
|
import { CustomLogger } from "../logger/logger";
|
||||||
import { zpStr } from "../zod";
|
import { zpStr } from "../zod";
|
||||||
import { TKmsRootConfigDALFactory } from "@app/services/kms/kms-root-config-dal";
|
|
||||||
|
|
||||||
export const GITLAB_URL = "https://gitlab.com";
|
export const GITLAB_URL = "https://gitlab.com";
|
||||||
|
|
||||||
|
|||||||
@@ -38,8 +38,6 @@ export const PamAccessAccountModal = ({ isOpen, onOpenChange, account }: Props)
|
|||||||
"years"
|
"years"
|
||||||
];
|
];
|
||||||
|
|
||||||
console.log({ unit, duration });
|
|
||||||
|
|
||||||
// ms library does not handle months (M) so we do it separately
|
// ms library does not handle months (M) so we do it separately
|
||||||
if (unit === "M") {
|
if (unit === "M") {
|
||||||
const value = parseInt(duration, 10);
|
const value = parseInt(duration, 10);
|
||||||
|
|||||||
Reference in New Issue
Block a user