🐛 Sørger for at feilmeldingsobjektet i frontend matcher backend
Co-authored-by: Sindre Kjelsrud <sindre.kjelsrud@nav.no>
This commit is contained in:
parent
0344e3cc0e
commit
3de17e1272
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ export default function Feil() {
|
|||
const handleSubmit = () => {
|
||||
const data = {
|
||||
"tittel": tittel,
|
||||
"beskrivelse": beskrivelse
|
||||
"beskrivelse": beskrivelse,
|
||||
"dato": new Date()
|
||||
};
|
||||
|
||||
post("/nyFeil", data)
|
||||
|
|
Reference in a new issue