Skip to content

Commit

Permalink
PEK-459: Send fnr som string
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorngi committed Aug 1, 2024
1 parent 3cd932b commit d2c566e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/VeilederInput/VeilederInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,9 @@ export const VeilederInput = () => {
}

const encryptFnr = (fnr: string) => {
console.log('fetchinf fnr')
return fetch(`${API_BASEURL}/v1/encrypt`, {
method: 'POST',
body: JSON.stringify({ text: fnr }),
body: fnr,
}).then((res) => res.text())
}

Expand Down

0 comments on commit d2c566e

Please sign in to comment.