feat: fixed pipeline failing

This commit is contained in:
=
2025-09-15 12:47:21 +05:30
parent 626774a967
commit 8aea5f42f6
3 changed files with 5 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ const createServiceToken = async (
const deleteServiceToken = async () => { const deleteServiceToken = async () => {
const serviceTokenListRes = await testServer.inject({ const serviceTokenListRes = await testServer.inject({
method: "GET", method: "GET",
url: `/api/v1/workspace/${seedData1.project.id}/service-token-data`, url: `/api/v1/projects/${seedData1.project.id}/service-token-data`,
headers: { headers: {
authorization: `Bearer ${jwtAuthToken}` authorization: `Bearer ${jwtAuthToken}`
} }

View File

@@ -474,7 +474,7 @@ export const registerDashboardRouter = async (server: FastifyZodProvider) => {
organizationId: req.permission.orgId, organizationId: req.permission.orgId,
properties: { properties: {
numberOfSecrets: secretCountFromEnv, numberOfSecrets: secretCountFromEnv,
projectId: projectId, projectId,
environment, environment,
secretPath, secretPath,
channel: getUserAgentType(req.headers["user-agent"]), channel: getUserAgentType(req.headers["user-agent"]),
@@ -1001,7 +1001,7 @@ export const registerDashboardRouter = async (server: FastifyZodProvider) => {
organizationId: req.permission.orgId, organizationId: req.permission.orgId,
properties: { properties: {
numberOfSecrets: secretCount, numberOfSecrets: secretCount,
projectId: projectId, projectId,
environment, environment,
secretPath, secretPath,
channel: getUserAgentType(req.headers["user-agent"]), channel: getUserAgentType(req.headers["user-agent"]),
@@ -1168,7 +1168,7 @@ export const registerDashboardRouter = async (server: FastifyZodProvider) => {
organizationId: req.permission.orgId, organizationId: req.permission.orgId,
properties: { properties: {
numberOfSecrets: secretCountForEnv, numberOfSecrets: secretCountForEnv,
projectId: projectId, projectId,
environment, environment,
secretPath, secretPath,
channel: getUserAgentType(req.headers["user-agent"]), channel: getUserAgentType(req.headers["user-agent"]),
@@ -1361,7 +1361,7 @@ export const registerDashboardRouter = async (server: FastifyZodProvider) => {
organizationId: req.permission.orgId, organizationId: req.permission.orgId,
properties: { properties: {
numberOfSecrets: secrets.length, numberOfSecrets: secrets.length,
projectId: projectId, projectId,
environment, environment,
secretPath, secretPath,
channel: getUserAgentType(req.headers["user-agent"]), channel: getUserAgentType(req.headers["user-agent"]),

View File

@@ -63,7 +63,6 @@ export type TDeleteFolderDTO = {
export type TUpdateFolderBatchDTO = { export type TUpdateFolderBatchDTO = {
projectId: string; projectId: string;
projectSlug: string;
folders: { folders: {
name: string; name: string;
environment: string; environment: string;