Skip to content

Commit

Permalink
Fiks url mot ontologi
Browse files Browse the repository at this point in the history
  • Loading branch information
joarau committed Oct 31, 2024
1 parent a211829 commit 0c302a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/api/stillings-api/hentJanzzyrker.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// src/api/stilling-api/janzz-api.ts

import useSWR from 'swr';
import { getAPIwithSchema } from '../fetcher';
import { z } from 'zod';
import { api } from 'felles/api';

export const hentJanzzYrkerEndepunkt = '/stilling-api/rekrutteringsbistand/api/v1/janzz-yrker';
export const hentJanzzYrkerEndepunkt = `${api.pamOntologi}/rest/typeahead/stilling`;

export const janzzStillingSchema = z.object({
label: z.string(),
Expand Down

0 comments on commit 0c302a7

Please sign in to comment.