Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Send med profileringId
Browse files Browse the repository at this point in the history
  • Loading branch information
jstnhlj committed Feb 26, 2024
1 parent df8f1da commit 657b58a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/contexts/behov-for-veiledning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ function BehovForVeiledningProvider(props: { children: ReactNode }) {
const behov: BehovForVeiledningResponse = await fetchToJson(BEHOV_FOR_VEILEDNING_URL, {
...requestConfig(),
method: 'POST',
body: JSON.stringify({ oppfolging: data.oppfolging, dialogId: dialog?.id }),
body: JSON.stringify({
oppfolging: data.oppfolging,
dialogId: dialog?.id,
profileringId: data.profileringId,
}),
});
settBehovForVeiledning(behov);
} catch (error) {
Expand Down

0 comments on commit 657b58a

Please sign in to comment.