Skip to content

Commit

Permalink
fix: Deleting SAML attribute mappings from the frontend can fail in n…
Browse files Browse the repository at this point in the history
…on-SaaS (#5179)
  • Loading branch information
rolodato authored Mar 4, 2025
1 parent fef3dff commit 813d49e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/common/services/useSamlAttributeMapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const samlAttributeMappingService = service
invalidatesTags: [{ id: 'LIST', type: 'SamlAttributeMapping' }],
query: (query: Req['deleteSamlAttributeMapping']) => ({
method: 'DELETE',
url: `auth/saml/attribute-mapping/${query.attribute_id}`,
url: `auth/saml/attribute-mapping/${query.attribute_id}/`,
}),
}),
getSamlAttributeMapping: builder.query<
Expand All @@ -44,7 +44,7 @@ export const samlAttributeMappingService = service
query: (query: Req['updateSamlAttributeMapping']) => ({
body: query.body,
method: 'PUT',
url: `auth/saml/attribute-mapping/${query.attribute_id}`,
url: `auth/saml/attribute-mapping/${query.attribute_id}/`,
}),
}),
// END OF ENDPOINTS
Expand Down

0 comments on commit 813d49e

Please sign in to comment.