Skip to content

Commit

Permalink
Merge pull request #1394 from betagouv/1386-null-column
Browse files Browse the repository at this point in the history
Envoi une chaîne vide au lieu de null dans l'API pour le champ request_private_notes
  • Loading branch information
alemangui authored Dec 19, 2024
2 parents ba910d1 + 42fe08e commit ff77f4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/views/DeclaredElementPage/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const modals = {
onClick() {
updateElement({
requestStatus: "INFORMATION",
requestPrivateNotes: notes.value,
requestPrivateNotes: notes.value || "",
}).then(closeModal)
},
},
Expand All @@ -127,7 +127,7 @@ const modals = {
onClick() {
updateElement({
requestStatus: "REJECTED",
requestPrivateNotes: notes.value,
requestPrivateNotes: notes.value || "",
}).then(closeModal)
},
},
Expand Down

0 comments on commit ff77f4e

Please sign in to comment.