Skip to content

Commit 05c1bf2

Browse files
committed
Correct the parameter for history delete request.
1 parent 4812ae5 commit 05c1bf2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/resources/themes/history.view

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,9 @@
300300
window.deleteMeetingHistory = function(meetingCode) {
301301
if (confirm('Are you sure you want to delete this meeting history? This action cannot be undone.')) {
302302
$.ajax({
303-
url: '?q=api/history&meetingCode=' + meetingCode,
303+
url: '?q=api/history',
304304
type: 'DELETE',
305+
data: { meetingCode: meetingCode },
305306
success: function() {
306307
alert('Meeting history deleted successfully');
307308
loadMeetings(); // Reload the meetings list

0 commit comments

Comments
 (0)