We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95e16a0 commit 8ea608aCopy full SHA for 8ea608a
client/src/io/http.ts
@@ -150,7 +150,11 @@ export const hentBrukerdataMedPost: any = async ([
150
// Nytt oppgave API
151
export const postOppgaveTildeling = async (oppgaveVersjon: OppgaveVersjon) => {
152
const { oppgaveId, versjon } = oppgaveVersjon
153
- return post(`${baseUrl}/api/oppgaver-v2/${oppgaveId}/tildeling`, null, ifMatchVersjon(versjon))
+ return post(
154
+ `${baseUrl}/api/oppgaver-v2/${oppgaveId}/tildeling`,
155
+ { overtaHvisTildelt: false },
156
+ ifMatchVersjon(versjon)
157
+ )
158
}
159
160
export const deleteFjernOppgaveTildeling = async (oppgaveVersjon: OppgaveVersjon) => {
0 commit comments