mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-05 02:39:07 +02:00
Fix yaml import
This commit is contained in:
@@ -5,7 +5,7 @@ import { encrypt } from "@server/lib/crypto";
|
|||||||
import { configFilePath1, configFilePath2 } from "@server/lib/consts";
|
import { configFilePath1, configFilePath2 } from "@server/lib/consts";
|
||||||
import { generateCA } from "@server/lib/sshCA";
|
import { generateCA } from "@server/lib/sshCA";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import yaml from "js-yaml";
|
import * as yaml from "js-yaml";
|
||||||
|
|
||||||
type GenerateOrgCaKeysArgs = {
|
type GenerateOrgCaKeysArgs = {
|
||||||
orgId: string;
|
orgId: string;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { encrypt, decrypt } from "@server/lib/crypto";
|
|||||||
import { configFilePath1, configFilePath2 } from "@server/lib/consts";
|
import { configFilePath1, configFilePath2 } from "@server/lib/consts";
|
||||||
import { eq } from "drizzle-orm";
|
import { eq } from "drizzle-orm";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import yaml from "js-yaml";
|
import * as yaml from "js-yaml";
|
||||||
|
|
||||||
type RotateServerSecretArgs = {
|
type RotateServerSecretArgs = {
|
||||||
"old-secret": string;
|
"old-secret": string;
|
||||||
|
|||||||
Reference in New Issue
Block a user