Update the list of integrations in the app

This commit is contained in:
Vladyslav Matsiiako
2022-11-29 20:02:14 -05:00
parent 91827aed3e
commit 8e2794f6ab
23 changed files with 123 additions and 56 deletions
@@ -1,6 +1,7 @@
import uploadSecrets from "~/pages/api/files/UploadSecrets";
import getLatestFileKey from "~/pages/api/workspace/getLatestFileKey";
import getWorkspaceKeys from "~/pages/api/workspace/getWorkspaceKeys";
import { envMapping } from "../../../public/data/frequentConstants";
const crypto = require("crypto");
const {
@@ -12,12 +13,6 @@ const {
const nacl = require("tweetnacl");
nacl.util = require("tweetnacl-util");
const envMapping = {
Development: "dev",
Staging: "staging",
Production: "prod",
Testing: "test",
};
const pushKeys = async (obj, workspaceId, env) => {
let sharedKey = await getLatestFileKey(workspaceId);