Skip to content

Commit

Permalink
Skal ikke bruke 'å' i endepunkt url.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnsteingarmo committed Dec 9, 2024
1 parent d9b6f7c commit 93d4ab1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const useHentAlleGjenbrukbareVilkårsvurderinger = (): Props => {
async (behandlingId: string): Promise<void> => {
const respons = await axiosRequest<string[], void>({
method: 'GET',
url: `/familie-ef-sak/api/vurdering/${behandlingId}/gjenbrukbare-vilkår`,
url: `/familie-ef-sak/api/vurdering/${behandlingId}/gjenbrukbare-vilkar`,
});
if (respons.status === RessursStatus.SUKSESS) {
settGjenbrukbareVilkårsvurderinger(respons.data);
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/App/hooks/useVilkår.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const useVilkår = (): UseVilkår => {
(behandlingId: string, vilkårId: string) => {
axiosRequest<IVurdering, { behandlingId: string; vilkårId: string }>({
method: 'POST',
url: `/familie-ef-sak/api/vurdering/gjenbruk-enkelt-vilkår`,
url: `/familie-ef-sak/api/vurdering/gjenbruk-enkelt-vilkar`,
data: { behandlingId: behandlingId, vilkårId: vilkårId },
}).then((respons: RessursSuksess<IVurdering> | RessursFeilet) => {
if (respons.status === RessursStatus.SUKSESS) {
Expand Down

0 comments on commit 93d4ab1

Please sign in to comment.