Skip to content

Commit

Permalink
fix(component): When editing a ticket comment always use self url as …
Browse files Browse the repository at this point in the history
…post url

ref: #18 #34
  • Loading branch information
jon-nfc committed Dec 11, 2024
1 parent 4627f9c commit df5beb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/page/ticket/TicketCommentForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const TicketCommentForm = ({

if( is_edit ) {

post_url += '/' + comment_data['id']
post_url = comment_data['_urls']['_self']
HTTP_METHOD = 'PATCH'
}

Expand Down

0 comments on commit df5beb6

Please sign in to comment.