Skip to content

Commit

Permalink
[SecuritySolution] Fix broken delete timeline note request (#168739)
Browse files Browse the repository at this point in the history
## Summary

Fixes #168738

The delete request for timeline notes was missing the `version` header.
  • Loading branch information
janmonschke authored Oct 13, 2023
1 parent 2d92f6c commit 5499a47
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ function useDeleteNote(noteId: string | null | undefined) {
return http.fetch('/api/note', {
method: 'DELETE',
body: JSON.stringify({ noteId: id }),
version: '2023-10-31',
});
},
onSuccess: () => {
Expand Down

0 comments on commit 5499a47

Please sign in to comment.