🐛 Fikser manglende id-felt for å poste feilmeldinger

This commit is contained in:
Amalie Mansåker 2023-08-01 15:50:48 +02:00
parent 976d69c134
commit 54769e7425

View file

@ -17,6 +17,7 @@ export default function Feil() {
const handleSubmit = () => {
const payload = {
id: null,
tittel: tittel,
beskrivelse: beskrivelse,
dato: new Date().toISOString().replace('Z', ''), // Litt wack fix, burde endres