feat: added token based communications

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:23 +05:30
parent daa94db874
commit 20fb99f042
65 changed files with 699 additions and 360 deletions
@@ -25,7 +25,7 @@ const fetchSecretImport = async ({ projectId, environment, path = "/" }: TGetSec
"/api/v1/secret-imports",
{
params: {
projectId,
workspaceId: projectId,
environment,
path
}
@@ -66,7 +66,7 @@ const fetchImportedSecrets = async (
"/api/v1/secret-imports/secrets",
{
params: {
projectId: workspaceId,
workspaceId,
environment,
path: directory
}