Skip to content

Commit

Permalink
misc: removed raw from api
Browse files Browse the repository at this point in the history
  • Loading branch information
sheensantoscapadngan committed Jan 9, 2025
1 parent f0dc5ec commit 0c034d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/src/ee/routes/v1/secret-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const AccessListEntrySchema = z
export const registerSecretRouter = async (server: FastifyZodProvider) => {
server.route({
method: "GET",
url: "/raw/:secretName/access-list",
url: "/:secretName/access-list",
config: {
rateLimit: readLimit
},
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/hooks/api/secrets/queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export const useGetSecretAccessList = (dto: TGetSecretAccessListDTO) =>
groups: SecretAccessListEntry[];
identities: SecretAccessListEntry[];
users: SecretAccessListEntry[];
}>(`/api/v1/secrets/raw/${dto.secretKey}/access-list`, {
}>(`/api/v1/secrets/${dto.secretKey}/access-list`, {
params: {
workspaceId: dto.workspaceId,
environment: dto.environment,
Expand Down

0 comments on commit 0c034d6

Please sign in to comment.